I need a function

Started by Feri@over 19 years ago2 messagesgeneral
Jump to latest
#1Feri@
feria@eftshlg.co.cu

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.

#2Tomi NA
hefest@gmail.com
In reply to: Feri@ (#1)
Re: I need a function

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.