Re: [HACKERS] Libpq functions

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: mha(at)sollentuna(dot)net (Magnus Hagander)
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Libpq functions
Date: 1999-01-10 01:43:26
Message-ID: 199901100143.UAA19379@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Also, I noticed that in backend/util/error/elog.c, it checks for "Pfout !=
> NULL" to see if it's running under the postmaster. If Pfout == NULL, it
> sends its data out to stderr instead of the client.
> Shouldn't it be safe to just if on the global "IsUnderPostmaster" boolean
> here? Or am I missing something? (I'm starting my work by trying to get rid
> of anything other than pqcomm.c using Pfout and Pfin).

Not sure, but it is possible the coder didn't know about the variable.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-01-10 01:47:46 Re: [HACKERS] RE: [GENERAL] Benchmarking PGSQL against Microsoft SQL 7
Previous Message Stan Brown 1999-01-10 00:41:21 TCL/TK configure problems