pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Durst <ddurst@larubber.com>
To: pgsql-sql@postgresql.org
Subject: ERROR:  Cannot display a value of type RECORD
Date: Sun, 26 Jan 2003 00:41:00 -0800 (PST)
Message-ID: <44933.216.86.192.34.1043570460.squirrel@www.la-rubber.com> (raw)

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.





view thread (2+ messages)  latest in thread

Message-ID: <44933.216.86.192.34.1043570460.squirrel@www.la-rubber.com>
Permalink:  ../44933.216.86.192.34.1043570460.squirrel@www.la-rubber.com/
Also on:    postgresql.org/message-id/44933.216.86.192.34.1043570460.squirrel@www.la-rubber.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ddurst@larubber.com
  Subject: Re: ERROR:  Cannot display a value of type RECORD
  In-Reply-To: <44933.216.86.192.34.1043570460.squirrel@www.la-rubber.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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