Re: "Current value" of sequences in the properties dialogue

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: "Current value" of sequences in the properties dialogue
Дата
Msg-id 4608EF64.20108@postgresql.org
обсуждение исходный текст
Ответ на "Current value" of sequences in the properties dialogue  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: "Current value" of sequences in the properties dialogue  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-support
Erwin Brandstetter wrote:
> Hi developers! Hi Dave!
> 

Hi Erwin,

> It might help to use
> |    setval|('my_seq', 111, TRUE);
> or just
> |    setval|('my_seq', 111);
> as this would set "is_called" to true and thus generate a more
> consistant behaviour. "is_called" could still be set to FALSE by users,
> though.

I've implemented that change as suggested. The existing code went out of
it's way to behave as it did (using setval|('my_seq', 111, FALSE); on <
7.4 in fact!) so it was obviously a conscious design choice, but it's
not one I can see any justification for!

Cheers, Dave.



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

Предыдущее
От: "权宗亮"
Дата:
Сообщение: Re: about ssleay32.lib
Следующее
От:
Дата:
Сообщение: Images