Re: [GENERAL] column names query - Mailing list pgsql-general

From stimits@comcast.net
Subject Re: [GENERAL] column names query
Date
Msg-id 995457802.67503071.1504789115022.JavaMail.zimbra@comcast.net
Whole thread Raw
In response to [GENERAL] column names query  (hamann.w@t-online.de)
Responses Re: [GENERAL] column names query  (hamann.w@t-online.de)
List pgsql-general
SELECT table_name, column_name
FROM information_schema.columns
WHERE table_name = 'your_name';
 
----- Original Message -----
From: hamann w <hamann.w@t-online.de>
To: pgsql-general@postgresql.org
Sent: Thu, 07 Sep 2017 07:18:12 -0000 (UTC)
Subject: [GENERAL] column names query
Hi,
is there a simple way to retrieve column names from a query - basically the way psql adds
column headings when I do a select?
Best regards
Wolfgang Hamann
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Alexander Stoddard
Date:
Subject: [GENERAL] Plans to lift no write limitation on parallelism?
Next
From: milist ujang
Date:
Subject: Re: [GENERAL] BDR, wal segment has been removed, is it possible move forward?