ERROR: Cannot display a value of type RECORD

Поиск
Список
Период
Сортировка
От David Durst
Тема ERROR: Cannot display a value of type RECORD
Дата
Msg-id 44933.216.86.192.34.1043570460.squirrel@www.la-rubber.com
обсуждение исходный текст
Ответы Re: ERROR: Cannot display a value of type RECORD  ("David Durst" <ddurst@larubber.com>)
Список pgsql-sql
I recieve this error when executing the following function:

select lookup_journal_entries(to_date('20030125','YYYYMMDD'),
to_date('20030125','YYYYMMDD'));

Here is the function itself:

create function lookup_journal_entries(date,date) returns setof journal as '
select * from journal where entry_date >= $1 OR entry_date <= $2'
language 'SQL';

Normally I would expect to see a pointer # returned from the above select
but instead I get this error.




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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: quastions about primary key
Следующее
От: "David Durst"
Дата:
Сообщение: Re: ERROR: Cannot display a value of type RECORD