From: Markus Bertheau <twanger@bluetwanger.de>
To: PgSQL - SQL <pgsql-sql@postgresql.org>
Subject: empty view, replace view, column type change?
Date: Thu, 23 Jun 2005 22:03:29 +0200
Message-ID: <1119557009.7430.16.camel@localhost.localdomain> (raw)
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>
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: <1119557009.7430.16.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