Re: What's the meaning of system column in views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: What's the meaning of system column in views
Date: 2002-05-14 02:39:06
Message-ID: 22283.1021343946@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> # create view aview as select ctid, * from a_table;
> ERROR: name of column "ctid" conflicts with an existing system column

> If there's no objection I would remove system columns
> from views and allow the second example.

I seem to recall having looked at this awhile back and deciding that it
was harder than it was worth. But if you can do it I have no objection.
(It might be easier now than it was then; I think there are fewer places
now that have hardwired knowledge about system columns than before.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2002-05-14 04:13:28 Re: Discontent with development process (was:Re: pgaccess
Previous Message Tom Lane 2002-05-14 02:33:14 Re: pg_dump DROP commands and implicit search paths