pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Luiz K. Matsumura <luiz@planit.com.br>
Cc: pgsql-sql@postgresql.org
Subject: Re: Cast on character columns in views
Date: Tue, 4 Sep 2007 04:03:31 -0700 (PDT)
Message-ID: <819244.86005.qm@web31811.mail.mud.yahoo.com> (raw)
In-Reply-To: <46DCFD6D.20803@planit.com.br>

--- "Luiz K. Matsumura" <luiz@planit.com.br> wrote:
> When I drop the view first , and then create again the view (in a 
> separated transaction), now the command works! (this is a bug?)

Well according to the manual, it is working as it is intended to work:
http://www.postgresql.org/docs/8.2/interactive/sql-createview.html

I've created large SQL scripts that employ:

DROP VIEW IF EXITS viewname;

CREATE VIEW ...

Regards,
Richard Broersma Jr.



view thread (7+ messages)  latest in thread

Message-ID: <819244.86005.qm@web31811.mail.mud.yahoo.com>
Permalink:  ../819244.86005.qm@web31811.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/819244.86005.qm@web31811.mail.mud.yahoo.com

 · 

reply

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: rabroersma@yahoo.com, luiz@planit.com.br
  Subject: Re: Cast on character columns in views
  In-Reply-To: <819244.86005.qm@web31811.mail.mud.yahoo.com>

* 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