Querying Headers - Mailing list pgsql-general

From pw
Subject Querying Headers
Date
Msg-id 47C89593.4040502@telus.net
Whole thread Raw
Responses Re: Querying Headers
List 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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrade to 8.3.0?
Next
From: Thomas Kellerer
Date:
Subject: Confused about CASE