Re: I need a function - Mailing list pgsql-general

From Tomi NA
Subject Re: I need a function
Date
Msg-id d487eb8e0608080804r182b8e57vb031148082e47c24@mail.gmail.com
Whole thread Raw
In response to I need a function  ("Feri@" <feria@eftshlg.co.cu>)
List pgsql-general
On 8/8/06, Feri@ <feria@eftshlg.co.cu> wrote:
>
>
> Hello to wholes, I am new therein and I am  going by of mysql to
> postgres,somebody serious so kind to explain me as I can obtain in an array
> the names of the draws of a given base of data in PostGres. am  programming
> in PHP, sorry for my English, i speak spanish.
> thank you very much.

What do you mean by "draws of a given [database]"? Tables? Columns?
Try something like:
SELECT * FROM pg_class
Search the manual for pg_class: this should help a lot.

Hope it helps.
t.n.a.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Dumping database using 8.1 or 7.1
Next
From: Steve Peterson
Date:
Subject: Re: DROP TABLESPACE fails