Re: psql command aliases support

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: psql command aliases support
Дата
Msg-id 37ed240d0804030711v258e909cw765c0b343df36ca1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql command aliases support  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: psql command aliases support  (Peter Eisentraut <peter_e@gmx.net>)
Re: psql command aliases support  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Am Donnerstag, 3. April 2008 schrieb Gregory Stark:
>
>  > #= \oldd
>  >
>  > #= \old
>  > #= select 'where is all my output going?'
>  > #= select 'what happened to my ldd file?'
>

psql allows you to omit the space between the command and argument?
Does anybody else find that weird?

What is the virtue of allowing such a syntax in the first place?  I
can't think of any other context where it's okay to issue a command
together with arguments without some kind of delimiter, for the
obvious reason that it introduces ambiguities such as those Greg
described.

Cheers,
BJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFH9OWk5YBsbHkuyV0RAmZ4AKC9qjU+KqgLJxQSJ4sD7X4YaPEbHgCg8ipW
BRedeq4kG/FpqZBoptrKlRw=
=out8
-----END PGP SIGNATURE-----

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql command aliases support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [BUGS] BUG #4070: Join more then ~15 tables let postgreSQL produces wrong data