Re: reference to system table

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: Anton <FreeBSD(at)list(dot)ru>, pgsql-general(at)postgresql(dot)org
Subject: Re: reference to system table
Date: 2003-01-26 01:58:50
Message-ID: 200301260158.h0Q1wod22458@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stephan Szabo wrote:
> On Sun, 19 Jan 2003, Anton wrote:
>
> > Is there a way to create reference to any system relation?
>
> Not really in general. System tables aren't guaranteed to go
> through the same steps for updating as user tables.

Right. The best you can do is to create a table that has the extra
column and a userid column, then create a join that shows the join of
pg_shadow and your new table.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-01-26 02:09:51 Re: passwords and 7.3
Previous Message Bruce Momjian 2003-01-26 01:56:03 Re: libpq.so.2.2 & libpq.so.3.0