Re: BUG #3662: Seems that more than one run of a functions causes an error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3662: Seems that more than one run of a functions causes an error
Дата
Msg-id 28005.1192061537@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3662: Seems that more than one run of a functions causes an error  ("Robins Tharakan" <tharakan@gmail.com>)
Список pgsql-bugs
Oh, there's another solution I forgot to mention: you could write the
nextval call as
    nextval('s'::text)
which would force a runtime lookup of 's' on each call.  On the whole
though, numbering the rows yourself with a local counter is going to
run a lot faster.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3662: Seems that more than one run of a functions causes an error
Следующее
От: "huanghongdong"
Дата:
Сообщение: BUG #3669: cann't use UTF8 as server side encoding