Re: Annoying messages when copy sql code to psql terminal - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Annoying messages when copy sql code to psql terminal
Date
Msg-id b42b73150806051928y6b12d775xe2d4de138d1a5fd3@mail.gmail.com
Whole thread Raw
In response to Annoying messages when copy sql code to psql terminal  ("A B" <gentosaker@gmail.com>)
Responses Re: Annoying messages when copy sql code to psql terminal  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Re: Annoying messages when copy sql code to psql terminal  (Reece Hart <reece@harts.net>)
List pgsql-general
On Tue, May 27, 2008 at 9:24 AM, A B <gentosaker@gmail.com> wrote:
> Whenever I use copy-paste to run code in a terminal window that is
> running psql, and the code contains a row like
>
> IF FOUND THEN
>
> then I get the words
>
> ABORT        CHECKPOINT   COMMIT       DECLARE      EXECUTE

[...]

As others have noted, you have tabs in your sql source.  I'd advise if
possible, not to use the tab character in sql, for this and other
reasons.

merlin

pgsql-general by date:

Previous
From: "Ati Rosselet"
Date:
Subject: Application EventLog: could not write to log file: Bad file descriptor
Next
From: "Ken Winter"
Date:
Subject: Extracting data from deprecated MONEY fields