Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0
Дата
Msg-id Pine.LNX.4.21.0002250013250.4316-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0  (Rolf Grossmann <grossman@securitas.net>)
Ответы Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0  (Rolf Grossmann <grossman@securitas.net>)
Список pgsql-hackers
On 2000-02-24, Rolf Grossmann mentioned:

> use psql as a shell and I think it would be really cool if you could just
> write #!/path/to/psql -f to write sql scripts.

I considered that briefly, but dismissed it equally fast. psql is a shell
to the PostgreSQL backend, if you will, not to the system. It's optimized
as a batch processor and for being called from shell scripts, not for
being a programming language of it's own. (In the future it would be nice
to have a PL/Pgsql based front-end available for that sort of stuff.)

> Uhm ... my tcsh manual describes those options differently:
> 
>        -f  The shell ignores ~/.tcshrc, and thus starts faster.
>        -X  Is to -x as -V is to -v.

I wasn't actually implying to have picked -X in accordance with tcsh, I
was just confused about how Tom talked about -f.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages