Re: CTE error for F6 (execute pgScript), F5 (execute query) is OK

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Sam Mesh <Sam(dot)Mesh(at)gmail(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>, Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com>
Subject: Re: CTE error for F6 (execute pgScript), F5 (execute query) is OK
Date: 2014-01-16 11:28:47
Message-ID: CA+OCxoy57sGcGL8i2WJsf42aoNTTKciJpL6tHjkqov=SM3PDnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Thu, Jan 16, 2014 at 12:06 AM, Sam Mesh <Sam(dot)Mesh(at)gmail(dot)com> wrote:
> In my pgAdmin, F5 (execute query) works but F6 (execute pgScript) doesn't
> work:
>
> with T as (select * from TECHNICAL_DESCRIPTOR)select * from T;
>
> [ERROR ] 1.0: syntax error, unexpected character

Hmm, yeah - I guess the pgScript parser hasn't be taught that "WITH"
is now a valid SQL command. Dinesh, could you look into that please? I
guess it's just a case of adding WITH as a keyword.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message bithead 2014-01-16 16:43:11 Re: wxWidgets Debug Alert assert "sizeNew == -1"
Previous Message Neel Patel 2014-01-16 10:10:47 Re: wxWidgets Debug Alert assert "sizeNew == -1"