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

From: Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com>
To: Sam Mesh <Sam(dot)Mesh(at)gmail(dot)com>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: CTE error for F6 (execute pgScript), F5 (execute query) is OK
Date: 2014-03-04 06:19:14
Message-ID: CAKWsr7hvNLM4_bcPP3s3rgbe6uQ-02BFAK8nujwLYnAhodOLoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Tue, Mar 4, 2014 at 5:14 AM, Sam Mesh <Sam(dot)Mesh(at)gmail(dot)com> wrote:

> It looks like the same story with 'do':
>
> do $$ declare i int; begin i:= 0; end$$;
>
>
Thanks Sam,

In soon, i will fix this issue as well.

Regards,
Dinesh

>
> On Wed, Jan 22, 2014 at 6:18 PM, Dinesh Kumar <
> dinesh(dot)kumar(at)enterprisedb(dot)com> wrote:
>
>> Hi Dave,
>>
>> On Thu, Jan 16, 2014 at 4:58 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>
>>> 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.
>>>
>>> Sure, i will look into this case.
>>
>> Thanks,
>> Dinesh
>>
>>> --
>>> 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 Patel, Darpan D 2014-03-04 13:54:37 password support
Previous Message Sam Mesh 2014-03-03 23:44:32 Re: CTE error for F6 (execute pgScript), F5 (execute query) is OK