Re: how to select

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: jvilla(at)innovativesource(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to select
Date: 2005-07-29 19:24:45
Message-ID: c2d9e70e0507291224156c0719@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/29/05, Jonathan Villa <jvilla(at)innovativesource(dot)net> wrote:
>
> Ok, this is odd...
>
> I tried ending with a semicolon before, and received this error
>
> ERROR: parser: parse error at or near "select"
>
> I have to do it twice before I get it works...here's an example
>
> select project_name from project_group_list;
> ERROR: parser: parse error at or near "select"
> select project_name from project_group_list;
> ...
> ...
> ...
>
> that's odd...
>
>

that's because you type a select without a semicolon then you write
one with the semicolon so the parser think both are only one command
but refused to execute that bad formed sentence and give you the
error... then you put another sentence and, of cuorse it executed...

you just show us 2 sentences one before the error and one after...

am i right?

--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-07-29 19:42:14 Re: how to select
Previous Message Jonathan Villa 2005-07-29 19:19:07 Re: how to select