From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mulham freshcode <mulhamcode@yahoo.com>
Cc: aklaver@comcast.net, pgsql-sql@postgresql.org, "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Subject: Re: select into
Date: Thu, 23 Nov 2006 23:45:19 -0500
Message-ID: <28318.1164343519@sss.pgh.pa.us> (raw)
In-Reply-To: <20061124042134.55885.qmail@web90512.mail.mud.yahoo.com>
References: <20061124042134.55885.qmail@web90512.mail.mud.yahoo.com>
Mulham freshcode <mulhamcode@yahoo.com> writes:
> execute sql_str1 into svc_data_rec ;
> svc_data_rec is a RECORD, which is supposed to be dynamic.
This should work --- in PG 8.1 or later. In older versions you'd have
to fool around with a FOR ... IN EXECUTE ... loop.
regards, tom lane
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: tgl@sss.pgh.pa.us, mulhamcode@yahoo.com, andreas.kretschmer@schollglas.com
Subject: Re: select into
In-Reply-To: <28318.1164343519@sss.pgh.pa.us>
* 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