Default to pager off

Started by Michael Satterwhiteover 15 years ago4 messagesgeneral
Jump to latest
#1Michael Satterwhite
michael@weblore.com

I'm not fond of the pager function. Is there a way to tell postgresql to
either default to '\pset pager off' or to have it startup with the pager turned
off?

#2Dominik Żyła
dominik.zyla@gmail.com
In reply to: Michael Satterwhite (#1)
Re: Default to pager off

Hello,

Dnia Tue, Jan 04, 2011 at 03:05:03PM -0600, Michael Satterwhite napisał:

I'm not fond of the pager function. Is there a way to tell postgresql to
either default to '\pset pager off' or to have it startup with the pager turned
off?

From `psql --help':

-P VAR[=ARG] set printing option VAR to ARG (see \pset command)

--
Dominik Żyła

#3Michael Satterwhite
michael@weblore.com
In reply to: Dominik Żyła (#2)
Re: Default to pager off

On Tuesday, January 04, 2011 03:28:23 pm Dominik Żyła wrote:

Hello,

Dnia Tue, Jan 04, 2011 at 03:05:03PM -0600, Michael Satterwhite napisał:

I'm not fond of the pager function. Is there a way to tell postgresql to
either default to '\pset pager off' or to have it startup with the pager
turned off?

From `psql --help':

-P VAR[=ARG] set printing option VAR to ARG (see \pset command)

Thanks much - and I admit a little foolishness. I googled every combination I
could think of without finding it. For whatever reason, I didn't think of using
psql --help. I will in the future.

Thanks
---Michael

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dominik Żyła (#2)
Re: Default to pager off

Dominik =?utf-8?B?xbt5xYJh?= <dominik.zyla@gmail.com> writes:

Dnia Tue, Jan 04, 2011 at 03:05:03PM -0600, Michael Satterwhite napisał:

I'm not fond of the pager function. Is there a way to tell postgresql to
either default to '\pset pager off' or to have it startup with the pager turned
off?

From `psql --help':
-P VAR[=ARG] set printing option VAR to ARG (see \pset command)

Setting it off in ~/.psqlrc would likely be more convenient.

regards, tom lane