pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedERROR: Cannot display a value of type RECORD
2+ messages / 1 participants
[nested] [flat]
* ERROR: Cannot display a value of type RECORD
@ 2003-01-26 08:41 David Durst <ddurst@larubber.com>
2003-01-26 08:49 ` Re: ERROR: Cannot display a value of type RECORD David Durst <ddurst@larubber.com>
0 siblings, 1 reply; 2+ messages in thread
From: David Durst @ 2003-01-26 08:41 UTC (permalink / raw)
To: 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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ERROR: Cannot display a value of type RECORD
2003-01-26 08:41 ERROR: Cannot display a value of type RECORD David Durst <ddurst@larubber.com>
@ 2003-01-26 08:49 ` David Durst <ddurst@larubber.com>
0 siblings, 0 replies; 2+ messages in thread
From: David Durst @ 2003-01-26 08:49 UTC (permalink / raw)
To: ddurst@larubber.com; +Cc: pgsql-sql
I figured out the issue, DOOOOH stupid mistake
select entry_id, entry_description from
lookup_journal_entries(to_date('20030125','YYYYMMDD'),
to_date('20030125','YYYYMMDD'));
> 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.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-01-26 08:49 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-26 08:41 ERROR: Cannot display a value of type RECORD David Durst <ddurst@larubber.com>
2003-01-26 08:49 ` David Durst <ddurst@larubber.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox