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

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






view thread (2+ messages)

Message-ID: <44973.216.86.192.34.1043570980.squirrel@www.la-rubber.com>
Permalink:  ../44973.216.86.192.34.1043570980.squirrel@www.la-rubber.com/
Also on:    postgresql.org/message-id/44973.216.86.192.34.1043570980.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: <44973.216.86.192.34.1043570980.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