From: Nils Zonneveld <nils@mbit.nl>
To: pgsql-sql@postgresql.org
Subject: Re: Get the tables names?
Date: Fri, 20 Jul 2001 00:51:12 +0200
Message-ID: <3B576455.4F927009@mbit.nl> (raw)
References: <9j67ra$m1$1@news.tht.net>
Magnus Landahl wrote:
>
> Hi everybody!
>
> Is it possible to get the names of all tables in the database with a sql
> query??
>
select tablename from pg_tables where tablename !~ '^pg_';
or more SQL92 like:
select tablename from pg_tables where tablename not like 'pg_%';
Kind regards,
Nils Zonneveld
--
Alles van waarde is weerloos
Lucebert
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: nils@mbit.nl
Subject: Re: Get the tables names?
In-Reply-To: <3B576455.4F927009@mbit.nl>
* 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