Re: [HACKERS] INSERT INTO view means what exactly?

From: jwieck(at)debis(dot)com (Jan Wieck)
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: jwieck(at)debis(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] INSERT INTO view means what exactly?
Date: 1999-05-25 19:22:51
Message-ID: m10mMmp-000EBPC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>
> jwieck(at)debis(dot)com (Jan Wieck) writes:
> > Tom Lane wrote:
> >> regression=> INSERT INTO z VALUES ('bar');
> >> INSERT 411636 1
> >>
> >> OK, where'd tuple 411636 go?
>
> > Tuple 411636 went into data/base/regression/x :-)
>
> .../z, you meant --- yup, I see you are right. Weird. I didn't
> realize that views had an underlying table.

They ARE a table - only that a rule ON SELECT hides their
(normal) emptyness :-)

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Sauer 1999-05-25 19:48:23 I can't compile cvs snapshot ...
Previous Message Tom Lane 1999-05-25 19:16:50 Re: [HACKERS] strange behavior of UPDATE