Обсуждение: psql defaults file?

Поиск
Список
Период
Сортировка

psql defaults file?

От
"Jonathan Ellis"
Дата:
I couldn't find anything in the man page about this -- does psql check for
~/.psql or anything so I don't have to manually --pset pager=off every time
I run it?  If there is such a file, what is the format for specifying
options?

-Jonathan


Re: psql defaults file?

От
Ashley Clark
Дата:
* Jonathan Ellis in "[GENERAL] psql defaults file?" dated 2000/11/01
* 10:13 wrote:

> I couldn't find anything in the man page about this -- does psql
> check for ~/.psql or anything so I don't have to manually
> --pset pager=off every time I run it?  If there is such a file, what
> is the format for specifying options?

Check the psql(1) man page again. psql reads ~/.psqlrc, and the format
is the same as if you were typing directly in psql.

--
really shack

Вложения