pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hubert depesz Lubaczewski <depesz@depesz.pl>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-sql@postgresql.org
Subject: Re: how to return ONE single record from a function in plpgsql?
Date: Thu, 27 Feb 2003 16:53:03 +0100
Message-ID: <20030227155303.GB17157@depesz.pl> (raw)
In-Reply-To: <5776.1046018061@sss.pgh.pa.us>
References: <20030223104731.GD11016@depesz.pl>
	<5776.1046018061@sss.pgh.pa.us>

On Sun, Feb 23, 2003 at 11:34:21AM -0500, Tom Lane wrote:
> You need to say
> 	  reply helper_login%ROWTYPE;

thanks. i read the doc, but was misled by first line saying:
name tablename%ROWTYPE;

stupid me - i should heve keep on reading.

best regards

depesz

-- 
hubert depesz lubaczewski                              http://www.depesz.pl/
i choose to hate people when they're not polite; bruise me; that's allright.
bananafishbones                                                    "pow wow"



view thread (4+ messages)

Message-ID: <20030227155303.GB17157@depesz.pl>
Permalink:  ../20030227155303.GB17157@depesz.pl/
Also on:    postgresql.org/message-id/20030227155303.GB17157@depesz.pl

 · 

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: depesz@depesz.pl, tgl@sss.pgh.pa.us
  Subject: Re: how to return ONE single record from a function in plpgsql?
  In-Reply-To: <20030227155303.GB17157@depesz.pl>

* 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