Skip site navigation (1) Skip section navigation (2)

Querying Headers

From: pw <p(dot)willis(at)telus(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Querying Headers
Date: 2008-02-29 23:30:27
Message-ID: 47C89593.4040502@telus.net (view raw or flat)
Thread:
Lists: pgsql-general
Hello,

I am curious if there is a postgresql function that will
return a list of header names based on an input query text.

ie:


select return_headers("SELECT name, date, shape FROM some_table;") as 
headers;

returning:

headers
-------
name
date
shape


Thanks for any help.

Pw

Responses

pgsql-general by date

Next:From: Thomas KellererDate: 2008-02-29 23:42:36
Subject: Confused about CASE
Previous:From: Tom LaneDate: 2008-02-29 22:55:18
Subject: Re: Upgrade to 8.3.0?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group