list fieldnames in table? (from PHP)

Поиск
Список
Период
Сортировка
Is there a simple way to list fieldnames in a table, from PHP?

When on the command-line, I just do \d tablename

But how to get the fieldnames from PHP commands?

В списке pgsql-general по дате отправления:

Предыдущее
От: "Brian Maguire"
Дата:
Сообщение: what could cause inserts getting queued up and db locking??
Следующее
От: "Mayra"
Дата:
Сообщение: Theory!!