Thread: Bug in function property dialog
I think I found a bug in the funcion property dialog of pgAdmin3 1.2.0 Beta 2 (Win XP). I have a PostgreSQL 7.4.3 backend and it does not allow "ALTER FUNCTION ... OWNER TO ...", i.e. it pops up an error dialog saying "ERROR: syntax error at or near "OWNER" at character ...". It also fails when I try the same SQL code with psql on Linux against the same backend and the 7.4.3 documentation doesn't mention this capability. My suggestion is to disable the Owner combobox if the backend version is less than whatever backend version supports this functinality. Thanks, Alex
Alexander Borkowski wrote: > I think I found a bug in the funcion property dialog of pgAdmin3 1.2.0 > Beta 2 (Win XP). I have a PostgreSQL 7.4.3 backend and it does not allow > "ALTER FUNCTION ... OWNER TO ...", i.e. it pops up an error dialog > saying "ERROR: syntax error at or near "OWNER" at character ...". It > also fails when I try the same SQL code with psql on Linux against the > same backend and the 7.4.3 documentation doesn't mention this capability. This bug was located and fixed some days ago, try the latest snapshot. Go on bughunting! Regards, Andreas
Andreas Pflug wrote: > This bug was located and fixed some days ago, try the latest snapshot. Duh! Seems I can't remember any more what I read on this list a couple of days ago :-( Sorry for that. > Go on bughunting! I will. Cheers, Alex