postmaster -d option (was Re: [GENERAL] Relation 0 does not exist)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: pgsql-hackers(at)postgreSQL(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: postmaster -d option (was Re: [GENERAL] Relation 0 does not exist)
Date: 2002-09-25 22:35:29
Message-ID: 28778.1032993329@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
> ... I was running postmaster -d4, yet the only
> query I saw was the last LOG one. I pretty sure that I would see all queries
> with -d3 before..

It looked to me like you were just running with the recently-added
frill to log only queries that cause errors; which is on by default.

(Looks at code...) Ah. It looks like -d to the postmaster no longer
means anywhere near what it used to. Bruce --- compare the handling
of -d in the backend (postgres.c lines 1251ff) with its handling in
the postmaster (postmaster.c lines 444ff). Big difference. Are we
going to make these more alike? If so, which one do we like?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Welche 2002-09-25 22:39:00 Re: Relation 0 does not exist
Previous Message Patrick Welche 2002-09-25 22:28:21 Re: Relation 0 does not exist

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Welche 2002-09-25 22:39:00 Re: Relation 0 does not exist
Previous Message Bruce Momjian 2002-09-25 22:29:43 Re: Bug in PL/pgSQL GET DIAGNOSTICS?