Re: Is it possible to have psql ignore the line I am typing?

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Rosser Schwarz" <rosser(dot)schwarz(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is it possible to have psql ignore the line I am typing?
Date: 2009-10-22 03:12:21
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C04E84DB5@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Thank you, Rosser.

It is interesting to note that -- and "/* ... */"
have slightly different behavior. Former is much
like # in shell or // in some programming languages,
while the latter shows multi-line propensity.

Regards,

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

-----Original Message-----
From: Rosser Schwarz [mailto:rosser(dot)schwarz(at)gmail(dot)com]
Sent: Wed 10/21/2009 5:43 PM
To: Tena Sakai; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Is it possible to have psql ignore the line I am typing?

On Wed, Oct 21, 2009 at 6:39 PM, Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:

> Hi everybody,
>
> Is it possible to have psql ignore the line I am typing?
> That is, similar to '#' with unix shell.
>

I believe the standard "--" remainder of line SQL comment glyph will work,
as should the C-style "/* ... */" block comment symbols.

rls

--
:wq

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David Jantzen 2009-10-22 03:52:59 Reversing flow of WAL shipping
Previous Message Rosser Schwarz 2009-10-22 00:43:52 Re: Is it possible to have psql ignore the line I am typing?