pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Nelson <MCN@cc.usu.edu>
To: PGSQL-PHP@POSTGRESQL.ORG
Subject: getting table names
Date: Wed, 18 Dec 2002 15:29:03 -0700 (MST)
Message-ID: <01KQ6KLMZ9J68YARR9@cc.usu.edu> (raw)

Hi,

I can't seem to find how to do this anywhere. I'm trying to query
the db and have it return the name of each of the tables in the
db. Something like \dt does in psql, but from PHP. Any ideas?

/mark




view thread (2+ messages)  latest in thread

Message-ID: <01KQ6KLMZ9J68YARR9@cc.usu.edu>
Permalink:  ../01KQ6KLMZ9J68YARR9@cc.usu.edu/
Also on:    postgresql.org/message-id/01KQ6KLMZ9J68YARR9@cc.usu.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: MCN@cc.usu.edu
  Subject: Re: getting table names
  In-Reply-To: <01KQ6KLMZ9J68YARR9@cc.usu.edu>
  References: <01KQ6KLMZ9J68YARR9@cc.usu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox