From: | "Chris Velevitch" <chris(dot)velevitch(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: create view problem |
Date: | 2006-06-05 01:02:35 |
Message-ID: | b0a3bf780606041802n281192cq85c7432b559d86b4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Velevitch | 2006-06-05 01:50:33 | What is the point of create or replace view command |
Previous Message | Martijn van Oosterhout | 2006-06-04 21:45:30 | Re: How to do a "CREATE DATABASE" and then connect to it? |