Re: "Current value" of sequences in the properties dialogue
В списке pgadmin-support по дате отправления:
| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера