Re: list tables Examples

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Luiz Rafael Culik Guimaraes <culikr(at)uol(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: list tables Examples
Date: 2002-08-13 20:09:08
Message-ID: Pine.LNX.4.44.0208131608120.2346-100000@cm-lcon1-46-187.cm.vtr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Luiz Rafael Culik Guimaraes dijo:

> How to get all tables associated with an Database with C API.

Use a standard query against pg_class system table, or (probably better)
pg_tables system view.

--
Alvaro Herrera (<alvherre[a]atentus.com>)
"Postgres is bloatware by design: it was built to house
PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hubert depesz Lubaczewski 2002-08-13 20:31:09 Re: when to use index, and when not to us index - *the* answer :)
Previous Message Peter Eisentraut 2002-08-13 19:53:43 Re: [GENERAL] Linux Largefile Support In Postgresql RPMS