Changes to sequence.c

Поиск
Список
Период
Сортировка
От Billy G. Allie
Тема Changes to sequence.c
Дата
Msg-id m0y9OWX-0009iWC@bgalli.mug.org
обсуждение исходный текст
Список pgsql-hackers
I encountered a problem (bug? feature?) where "select currval('sequence')"
will generate an error if "select nextval('sequence')" is not executed first.
The attached patch will change this behaviour by reading the sequence tuple
and returning the last_value attribute if nextval has not been called on the
sequence yet.

The patched code appears to work as intended and did not have any effect on
the output of the regression test.
____       | Billy G. Allie    | Domain....: Bill.Allie@mug.org
|  /|      | 7436 Hartwell     | Compuserve: 76337,2061
|-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie@email.msn.com
|/  |LLIE  | (313) 582-1540    |

Вложения

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] SunOS patches
Следующее
От: Brook Milligan
Дата:
Сообщение: SOLUTION: undefined symbols in libpgtcl.so