Re: dot-conf checking

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: dot-conf checking
Date: 2004-08-09 04:03:55
Message-ID: 4956.1092024235@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> Not a whole lot we can do about that, unless you want to invent a new
>> category of "integer variables we display in octal". Doesn't really
>> seem worth it.

> I suppose so. I'll want to document the discrepancy though.

[ dept. of second thoughts ] One idea would be to redefine the variable
as a string instead of an int, and store "0777" literally. We'd have to
do the sscanf on use rather than on entry. But seeing that the value is
only used once in the life of a postmaster, there could hardly be any
big objection about efficiency ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2004-08-09 04:12:41 Re: Add Missing From?
Previous Message Josh Berkus 2004-08-09 03:55:24 Re: dot-conf checking