Re: logfile subprocess and Fancy File Functions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: logfile subprocess and Fancy File Functions
Date: 2004-07-20 18:17:41
Message-ID: 200407201817.i6KIHfX07806@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut wrote:
> Andreas Pflug wrote:
> > Apparently it's best to invent a log_file_prefix = 'pgsql_' guc
> > variable.
>
> In any case, the prefix "postgresql-" is more in line with current
> practice.

For logs I think pgsql_ is best because that filename is already going
to be long, and I don't usually like dashes in file names. They look
too much like arguments, but tarballs use them and it looks OK there, I
guess.

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-07-20 18:36:14 Re: [HACKERS] Cannot initdb in cvs tip
Previous Message Peter Eisentraut 2004-07-20 18:15:55 Re: logfile subprocess and Fancy File Functions