From: Markus Bertheau <twanger@bluetwanger.de>
To: PgSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: empty view, replace view, column type change?
Date: Thu, 23 Jun 2005 22:21:58 +0200
Message-ID: <1119558118.7430.19.camel@localhost.localdomain> (raw)
In-Reply-To: <1119557009.7430.16.camel@localhost.localdomain>
References: <1119557009.7430.16.camel@localhost.localdomain>
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>
Attachments:
signature.asc (application/pgp-signature, 188B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: twanger@bluetwanger.de
Subject: Re: empty view, replace view, column type change?
In-Reply-To: <1119558118.7430.19.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox