RE: [GENERAL] Problem with 6.5 reload

Поиск
Список
Период
Сортировка
От Glen and Rosanne Eustace
Тема RE: [GENERAL] Problem with 6.5 reload
Дата
Msg-id 000d01be860d$f5747720$0101a8c0@agree-1.godzone.net.nz
обсуждение исходный текст
Ответ на RE: [GENERAL] Problem with 6.5 reload  ("Brett W. McCoy" <bmccoy@lan2wan.com>)
Список pgsql-general
> > CREATE FUNCTION next_target ( )
> >    RETURNS int4 AS
> >    'update global set next_target=next_target+1;select
> > next_target from global'
>                          ^
> Do you need another ';' here?
>
> >    LANGUAGE 'SQL';

Thanks Brett, you are correct.

It seems that prior to 6.5, this wasn't necessary but now is.

Glen.


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

Предыдущее
От: Guo Ge
Дата:
Сообщение: about transaction
Следующее
От: James Thompson
Дата:
Сообщение: Would this project be of interest to anyone?