Re: integer values in conf file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Finneid <tfinneid(at)student(dot)matnat(dot)uio(dot)no>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: integer values in conf file
Date: 2008-08-31 17:19:49
Message-ID: 11050.1220203189@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Finneid <tfinneid(at)student(dot)matnat(dot)uio(dot)no> writes:
> A quick question, In the doc on the net for miscellaneous config
> options, e.g. maintenance_work_mem, the doc states the argument is an
> integer, but it does not state whether the number should be in Bytes,
> KB, MB. From examples I have seen, I conclude its in KB, but is that
> correct?

Yeah, if you don't put a unit on it it'll be taken as kB. See the
'unit' column in pg_settings when in doubt on such matters.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message M2Y 2008-08-31 18:29:32 Oracle and Postgresql
Previous Message Lew 2008-08-31 16:17:42 Re: integer values in conf file