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

From Markus Bertheau
Subject Re: empty view, replace view, column type change?
Date
Msg-id 1119558118.7430.19.camel@localhost.localdomain
Whole thread Raw
In response to empty view, replace view, column type change?  (Markus Bertheau <twanger@bluetwanger.de>)
List pgsql-sql
Dnia 23-06-2005, czw o godzinie 22:03 +0200, Markus Bertheau napisał(a):
> 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;

Erm, the error message is something to the effect of

ERROR: can't change type of view column "ov"

--
Markus Bertheau <twanger@bluetwanger.de>

pgsql-sql by date:

Previous
From: Markus Bertheau
Date:
Subject: empty view, replace view, column type change?
Next
From: Rod Taylor
Date:
Subject: Re: empty view, replace view, column type change?