The Apply button is disabled when I open function properties. It only
becomes enabled when I make a change. You're right, this is not
exclusive to "Security of definer" - any change will do. For example, I
can change the function cost, click Apply (the button becomes disabled
again), then as soon as I press a digit key with the cursor in the
function cost textbox pgAdmin crashes.
For me this is reproducible every time.
On 23/11/2012 12:05 AM, Michal Kozusznik wrote:
> Check if Apply button is active just after opening function properties.
> If true - it is known issues. It's not related to setting an option
> but to apply changes while window is not initialized with correct
> state (button should be disabled just after opening properties window)
>
> BTW I'm curious why devs still didn't managed this issue. I know it is
> hard to reproduce because some for the behaviour is correct for some
> functions but incorrect for other. However it should be quite clear
> which condition makes the button active at begining.
>
> On 22.11.2012 13:55, Evan Martin wrote:
>> This crash happens to me every time both on 1.16.0 running on Windows
>> 7 x64 and on latest trunk version running on 32-bit Linux.
>>
>> To reproduce:
>>
>> 1) Open the properties dialog for a function.
>> 2) On the options tab check "Security of definer".
>> 3) Click Apply.
>> 4) Uncheck "Security of definer again". pgAdmin immediately crashes
>> with an access violation.
>>
>>
>>
>
>
>