Re: RETURNING clause: how to specifiy column indexes? - Mailing list pgsql-general

From Ken Johanson
Subject Re: RETURNING clause: how to specifiy column indexes?
Date
Msg-id 4761D2DF.4080204@kensystem.com
Whole thread Raw
In response to Re: RETURNING clause: how to specifiy column indexes?  (Ken Johanson <pg-user@kensystem.com>)
Responses Re: RETURNING clause: how to specifiy column indexes?
List pgsql-general
Kris and all,

Here is the query I will call to the get the name of columns by ordinal
position. Do you see any compatibility drivers will older server
versions, or other issues?

SELECT column_name
FROM information_schema.columns
WHERE table_catalog=? AND table_schema=? AND table_name=?
ORDER BY ordinal_position

Ken



pgsql-general by date:

Previous
From: Alex Vinogradovs
Date:
Subject: plpgsql trigger coredumps instance
Next
From: Tom Lane
Date:
Subject: Re: plpgsql trigger coredumps instance