Re: Converting postgresql.conf parameters to kilobytes

From: Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Frank Wiles <frank(at)wiles(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Converting postgresql.conf parameters to kilobytes
Date: 2004-06-02 15:33:45
Message-ID: 200406022103.45121.shridhar@frodo.hserus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday 02 June 2004 20:59, Tom Lane wrote:
> Frank Wiles <frank(at)wiles(dot)org> writes:
> > This may be an unreasonable suggestion, but how about allowing both?
> > I've seen several configuration systems do the following:
> >
> > shared_buffers = 10000 ( shared_buffers in pages )
> > shared_buffers = 100M ( 100 MBs of shared_buffers )
> > shared_buffers = 2048K ( 2MBs of shared_buffers )
>
> I could live with that. I'm not sure how painful it would be to wedge
> into GUC though; and I have a feeling that it is exactly *not* what
> Shridhar would think is simpler than the present behavior ;-)

Usability POV, I could live with that. That would mean converting the GUC from
int to string though.

Shridhar

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-06-02 15:35:01 Re: ACLs versus ALTER OWNER
Previous Message Tom Lane 2004-06-02 15:29:47 Re: Converting postgresql.conf parameters to kilobytes