pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: SEB Menard <smenard@avior.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Questions for experts
Date: Wed, 14 May 2003 16:34:28 +0100
Message-ID: <200305141634.28476.dev@archonet.com> (raw)
In-Reply-To: <1052828144.19880.6.camel@mis-11.avior.ca>
References: <1052828144.19880.6.camel@mis-11.avior.ca>

On Tuesday 13 May 2003 1:15 pm, SEB Menard wrote:
> 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?
>
> In Oracle UPDATE ...SET ROW do the jobs any substitutes in POSTGRES?

Start psql with the -E flag, then \d etc will show you the queries they run to 
provide their output. There's also a system catalogue section in the manuals

-- 
  Richard Huxton



view thread (3+ messages)  latest in thread

Message-ID: <200305141634.28476.dev@archonet.com>
Permalink:  ../200305141634.28476.dev@archonet.com/
Also on:    postgresql.org/message-id/200305141634.28476.dev@archonet.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: dev@archonet.com, smenard@avior.ca
  Subject: Re: Questions for experts
  In-Reply-To: <200305141634.28476.dev@archonet.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