pgsql-server/src/backend/postmaster postmaster.c

Started by Bruce Momjianalmost 23 years ago5 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@svr1.postgresql.org 03/09/03 21:36:55

Modified files:
src/backend/postmaster: postmaster.c

Log message:
Lowercase CHECKPOINT_SEGMENTS.

#2Neil Conway
neilc@samurai.com
In reply to: Bruce Momjian (#1)
Re: pgsql-server/src/backend/postmaster postmaster.c

On Wed, 2003-09-03 at 20:37, Bruce Momjian wrote:

Modified files:
src/backend/postmaster: postmaster.c

Log message:
Lowercase CHECKPOINT_SEGMENTS.

I'm not particularly enthusiastic about this idea, but if we're going to
do it, we should update this as well:

backend/parser/parse_expr.c:
errdetail("Nesting depth exceeds MAX_EXPR_DEPTH = %d."

and this:

backend/utils/fmgr/dfmgr.c: errmsg("zero-length
component in DYNAMIC_LIBRARY_PATH")));
backend/utils/fmgr/dfmgr.c:
errmsg("DYNAMIC_LIBRARY_PATH component is not absolute")));

And possibly other error messages, I didn't search exhaustively.

-Neil

#3Bruce Momjian
bruce@momjian.us
In reply to: Neil Conway (#2)
Re: pgsql-server/src/backend/postmaster postmaster.c

Neil Conway wrote:

On Wed, 2003-09-03 at 20:37, Bruce Momjian wrote:

Modified files:
src/backend/postmaster: postmaster.c

Log message:
Lowercase CHECKPOINT_SEGMENTS.

I'm not particularly enthusiastic about this idea, but if we're going to
do it, we should update this as well:

backend/parser/parse_expr.c:
errdetail("Nesting depth exceeds MAX_EXPR_DEPTH = %d."

and this:

backend/utils/fmgr/dfmgr.c: errmsg("zero-length
component in DYNAMIC_LIBRARY_PATH")));
backend/utils/fmgr/dfmgr.c:
errmsg("DYNAMIC_LIBRARY_PATH component is not absolute")));

And possibly other error messages, I didn't search exhaustively.

Well, let's make sure first that this is what most people want.

Comments? We can always revert CHECKPOINT_SEGMENTS.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#3)
Re: pgsql-server/src/backend/postmaster postmaster.c

Bruce Momjian <pgman@candle.pha.pa.us> writes:

Neil Conway wrote:

I'm not particularly enthusiastic about this idea, but if we're going to
do it, we should update this as well:

Well, let's make sure first that this is what most people want.

I don't care for it at all. The documentation lists GUC variables in
upper case for the most part, are you planning to undo that?

regards, tom lane

#5Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#4)
Re: pgsql-server/src/backend/postmaster postmaster.c

Tom Lane wrote:

Bruce Momjian <pgman@candle.pha.pa.us> writes:

Neil Conway wrote:

I'm not particularly enthusiastic about this idea, but if we're going to
do it, we should update this as well:

Well, let's make sure first that this is what most people want.

I don't care for it at all. The documentation lists GUC variables in
upper case for the most part, are you planning to undo that?

Someone emailed me privately to say he wasn't confused by the upper case
either, and because we have other uppercase in error messages, I am
changing CHECKPOINT_SEGMENTS back to uppercase.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073