Re: Propose: enum with all registered table names? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Propose: enum with all registered table names?
Date
Msg-id 20081120171739.GG3810@alvh.no-ip.org
Whole thread Raw
In response to Propose: enum with all registered table names?  ("Dmitry Koterov" <dmitry@koterov.ru>)
List pgsql-general
Dmitry Koterov wrote:

> CREATE TABLE log(
>   tbl XXX,
>   id INTEGER,
>   blahblah
> );

Use type regclass.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: compiling libpq.dll with Borland C++, is it possible?
Next
From: "Daniel Verite"
Date:
Subject: Re: Prepared statement already exists