Re: Help with function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help with function
Дата
Msg-id 21888.1123873074@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Help with function  (Chris Hoover <revoohc@gmail.com>)
Список pgsql-admin
Chris Hoover <revoohc@gmail.com> writes:
> I tried to define the function as function_name(new_rec view_name,
> old_rec view_name), but it abends on the call.

> function_name(new_rec view_name%rowtype, old_rec view_name%rowtype)
> will not compile.

> Can someone please provide some guidance on how to pass the records to
> my new function?

Not when you're being so parsimonious with details.  Show us the full
text of the function and the exact error message you got.

Also, I forget which Postgres version you are using --- it matters.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore
Следующее
От: Steve Lane
Дата:
Сообщение: Log stdout in PG 8?