From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Subject: Re: PLpgSQL FOR IN EXECUTE question
Date: Fri, 08 Nov 2002 10:06:10 +0100
Message-ID: <3DCB7E81.82132F2D@rodos.fzk.de> (raw)
Thanks to Josh, Richard, Tom
EXECUTE ''SELECT CAST(''
|| quote_ident($1)
|| '' AS TEXT) AS foo FROM ''
|| quote_ident($2)
and then
list := list || '', '' || this_record.foo ;
works perfectly.
Regards, Christoph
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: ch@rodos.fzk.de
Subject: Re: PLpgSQL FOR IN EXECUTE question
In-Reply-To: <3DCB7E81.82132F2D@rodos.fzk.de>
* 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