Re: stored procs

From: "J(dot)V(dot)" <jvsrvcs(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: stored procs
Date: 2011-09-30 07:24:56
Message-ID: 4E856EC8.6010907@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, I know that one.

What I want to do however is within a stored procedure make a call and
store all tables in a given schema in a list.

Is this something you can answer?

thanks

J.V.

On 9/29/2011 3:25 AM, Richard Huxton wrote:
> On 29/09/11 02:33, J.V. wrote:
>> Is is possible within a stored procedure to read all the tables in a
>> schema into a list?
> [snip]
>> I need to extract this meta-data for a project.
>
> Apart from information_schema mentioned elsewhere, start psql with -E
> and then try \dt and similar - it will show you the queries it uses.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2011-09-30 07:26:26 Re: could not access file "$libdir/pg_buffercache": No such file or directory
Previous Message Venkat Balaji 2011-09-30 06:48:34 Re: could not access file "$libdir/pg_buffercache": No such file or directory