empty view, replace view, column type change? - Mailing list pgsql-sql

From Markus Bertheau
Subject empty view, replace view, column type change?
Date
Msg-id 1119557009.7430.16.camel@localhost.localdomain
Whole thread Raw
Responses Re: empty view, replace view, column type change?
Re: empty view, replace view, column type change?
List pgsql-sql
Hi,

it seems to me that the following should work but it fails:

CREATE VIEW co AS SELECT LOCALTIMESTAMP::TIMESTAMP AS ov WHERE FALSE;
CREATE TABLE link (ov TIMESTAMP);
CREATE OR REPLACE VIEW co AS SELECT ov FROM link;

Markus

--
Markus Bertheau <twanger@bluetwanger.de>

pgsql-sql by date:

Previous
From: "Russell Simpkins"
Date:
Subject: Re: Grouping Too Closely
Next
From: Markus Bertheau
Date:
Subject: Re: empty view, replace view, column type change?