Re: Is it possible to have psql ignore the line I am typing? - Mailing list pgsql-admin

From Tena Sakai
Subject Re: Is it possible to have psql ignore the line I am typing?
Date
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C04E84DB5@egcrc-ex01.egcrc.org
Whole thread Raw
In response to Is it possible to have psql ignore the line I am typing?  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List 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@gallo.ucsf.edu

-----Original Message-----
From: Rosser Schwarz [mailto:rosser.schwarz@gmail.com]
Sent: Wed 10/21/2009 5:43 PM
To: Tena Sakai; pgsql-admin@postgresql.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@gallo.ucsf.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

pgsql-admin by date:

Previous
From: "Tena Sakai"
Date:
Subject: Re: Is it possible to have psql ignore the line I am typing?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Is it possible to have psql ignore the line I amtyping?