Re: Propose: enum with all registered table names?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Dmitry Koterov <dmitry(at)koterov(dot)ru>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Propose: enum with all registered table names?
Date: 2008-11-20 17:17:39
Message-ID: 20081120171739.GG3810@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2008-11-20 17:19:45 Re: Prepared statement already exists
Previous Message Bruce Momjian 2008-11-20 17:07:46 Re: compiling libpq.dll with Borland C++, is it possible?