Thread: I need a function

I need a function

From
"Feri@"
Date:
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.
 
Ej.
Var = new array.......
Var=(??function??)(BD)
 
Feri@

--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a transtec Computers por su apoyo.

Re: I need a function

From
"Tomi NA"
Date:
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.