Referencing columns from system tables possible? - Mailing list pgsql-general

From Boris Popov
Subject Referencing columns from system tables possible?
Date
Msg-id 182378185782.20031107182032@procedium.com
Whole thread Raw
Responses Re: Referencing columns from system tables possible?
List pgsql-general
Hello pgsql-general,

When trying to create a table

CREATE TABLE sessions (
 id serial PRIMARY KEY,
 procpid int4 REFERENCES pg_listener(listenerpid) ON DELETE CASCADE
 );

I get a warning saying 'relation "pg_listener" is a system catalog'

Is it unreasonable and/or impossible to do this?

--
-Boris



pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Recovery Data Cant Be!!!
Next
From: Alvaro Herrera
Date:
Subject: Re: Referencing columns from system tables possible?