From: Tom Lane <tgl@sss.pgh.pa.us>
To: SEB Menard <smenard@avior.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: Questions for experts
Date: Wed, 14 May 2003 12:02:13 -0400
Message-ID: <24725.1052928133@sss.pgh.pa.us> (raw)
In-Reply-To: <1052828144.19880.6.camel@mis-11.avior.ca>
References: <1052828144.19880.6.camel@mis-11.avior.ca>
SEB Menard <smenard@avior.ca> writes:
> I want to perform dynamic SQL update in PL/PGSQL... i don't know the
> name of the columns that i want to update. i just want to update a
> complete line... How i can get the names of the columns of a table in
> PL/PGSQL for produce a dynamic SQL update?
Use pltcl, not plpgsql. This sort of thing is easy in pltcl, hard or
impossible in plpgsql.
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, smenard@avior.ca
Subject: Re: Questions for experts
In-Reply-To: <24725.1052928133@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