Re: create view problem - Mailing list pgsql-general

From Chris Velevitch
Subject Re: create view problem
Date
Msg-id b0a3bf780606041802n281192cq85c7432b559d86b4@mail.gmail.com
Whole thread Raw
In response to Re: create view problem  ("Chris Velevitch" <chris.velevitch@gmail.com>)
Responses Re: create view problem
List pgsql-general
On 6/3/06, Chris Velevitch wrote:
> On 6/2/06, Tom Lane wrote:
> > "Chris Velevitch" writes:
> > > I'm using pg 7.4.5 (cygwin) on win xp sp1.
> > > When I enter:-
> > >     create view v1 as select * from t1;
> > > I get:-
> > >     ERROR:  syntax error at or near "view" at character 16
> >
> > Repeatably?
> >
> > "view" is not nearly 16 characters into that command.  I think you
> > typed something like
> >
> >         junk here
> >         create view v1 ...
>
> Yes, I had "explain" in front.

Why doesn't explain work with create views? There's nothing in the
documentation saying it shouldn't. If this is deliberate, the error
should state that.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: How to do a "CREATE DATABASE" and then connect to it?
Next
From: "Chris Velevitch"
Date:
Subject: What is the point of create or replace view command