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

Поиск
Список
Период
Сортировка
От Tena Sakai
Тема Re: Is it possible to have psql ignore the line I am typing?
Дата
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C04E84DB4@egcrc-ex01.egcrc.org
обсуждение исходный текст
Ответ на Is it possible to have psql ignore the line I am typing?  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin

Thank you Joshua!

> I believe -- will do what you like;

It sure does.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu

-----Original Message-----
From: Joshua D. Drake [mailto:jd@commandprompt.com]
Sent: Wed 10/21/2009 5:41 PM
To: Tena Sakai
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Is it possible to have psql ignore the line I am typing?

On Wed, 2009-10-21 at 17:39 -0700, Tena Sakai wrote:
> Hi everybody,
>
> Is it possible to have psql ignore the line I am typing?
> That is, similar to '#' with unix shell.  What I would
> like is to document my interaction with psql.  If an
> exclamation mark were a comment character, I may type
> something like:

I believe -- will do what you like;

>  silver=# ! I need to find out if data tagged as KIAA
>  silver=# ! got into silver database last night.
>  silver=#
>  silver=# select type, name, marker
>  silver-#   from marker_table
>  silver-#  where tag LIKE 'KIAA%';
>
> It would be nice to be able to jot down what little stream
> of thoughts come to my finger tip while I converse with
> psql.
>
> Thank you in advance.
>
> Regards,
>
> Tena Sakai
> tsakai@gallo.ucsf.edu
>
>
--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
If the world pushes look it in the eye and GRR. Then push back harder. - Salamander


В списке pgsql-admin по дате отправления:

Предыдущее
От: Rosser Schwarz
Дата:
Сообщение: Re: Is it possible to have psql ignore the line I am typing?
Следующее
От: "Tena Sakai"
Дата:
Сообщение: Re: Is it possible to have psql ignore the line I am typing?