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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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@xxxxxxxxxxxxxx

-----Original Message-----
From: Rosser Schwarz [mailto:rosser.schwarz@xxxxxxxxx]
Sent: Wed 10/21/2009 5:43 PM
To: Tena Sakai; pgsql-admin@xxxxxxxxxxxxxx
Subject: Re: Is it possible to have psql ignore the line I am typing?

On Wed, Oct 21, 2009 at 6:39 PM, Tena Sakai <tsakai@xxxxxxxxxxxxxx> 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux