PL/pgSQL Return statements

Поиск
Список
Период
Сортировка
От Donald Fraser
Тема PL/pgSQL Return statements
Дата
Msg-id 002501c738c8$876a1700$6364a8c0@DonAcer
обсуждение исходный текст
Ответы Re: PL/pgSQL Return statements  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Hello,
I am currently trying to upgrade PostgreSQL from 8.0 to 8.1 on our development machine and have run into a problem with RETURN VOID; statements in PL/pgSQL functions that have a return type of void.
I'm getting errors like the following:
 
ERROR:  RETURN cannot have a parameter in function returning void at or near "VOID" at character 2983.
 
Does this mean I must edit every function that is declared with RETURNS VOID and remove the RETURN VOID; statement from the body?
 
I did a pg_dumpall using the 8.1 libraries on the 8.0 database and this made no difference.
 
Thanks in advance,
regards
Donald Fraser

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

Предыдущее
От: Federico
Дата:
Сообщение: PostgreSQL data dir on linux raid software
Следующее
От: "Christopher Bland"
Дата:
Сообщение: Re: Invalid Checksum in Control File