Re: Enabling SQL text field in the SQL tab of object dialog

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Enabling SQL text field in the SQL tab of object dialog
Дата
Msg-id 937d27e10806170102o6ff6803evc4cd88e6f40eed92@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Enabling SQL text field in the SQL tab of object dialog  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Enabling SQL text field in the SQL tab of object dialog  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-hackers
On Tue, Jun 17, 2008 at 8:59 AM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:

>> That can be
>> potentially dangerous if the user has another property dialogue for a
>> sibling object open though (actually that's an issue now iirc - this
>> would just make it far more likely to occur).
>>
>
> What kind of issue are you talking about? can you give me an example?

When you open a properties dialogue, it gets passed a pointer to the
pgObject which it may use right up until it is closed. If you refresh
part of the tree, you delete and recreate all the pgObjects under the
node you refresh, so the dialogue can end up with a pointer to an
object that's been deleted.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Enabling SQL text field in the SQL tab of object dialog
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Enabling SQL text field in the SQL tab of object dialog