Re: [HACKERS] Heads up: does RULES regress test still work for you? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Heads up: does RULES regress test still work for you?
Date
Msg-id 199909281953.PAA26568@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
Added to TODO list.


> 
> Does the following indicate a bug? It sure is wierd. Maybe some of these
> statements aren't supported by postgresql (??), but the outcome doesn't
> make sense to me.
> 
> httpd=> CREATE TABLE x (y text);
> CREATE
> httpd=> CREATE VIEW z AS select * from x;
> CREATE
> httpd=> CREATE TABLE a (b text) INHERITS(z);
> CREATE
> httpd=> INSERT INTO x VALUES ('foo');
> INSERT 168602 1
> httpd=> select * from z*;
> y  
> ---
> foo
> foo
> (2 rows)
> 
> How did we suddenly get two rows??
> 
> -- 
> Chris Bitmead
> http://www.bigfoot.com/~chris.bitmead
> mailto:chris.bitmead@bigfoot.com
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PG_UPGRADE status
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] SYSLOGD facility