Re: BUG #1672: Postgres 8.0 doesn't return errors.

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Gregory L Miller-Kramer <millerg(at)contexttech(dot)com>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1672: Postgres 8.0 doesn't return errors.
Date: 2005-05-17 23:05:31
Message-ID: 20050517230531.GA33861@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, May 17, 2005 at 05:05:03PM -0400, Gregory L Miller-Kramer wrote:

> On system One I enter the database ...
> psql exdb exdb
> select misspelled_excol from extable;
>
> and an error is displayed...
> ERROR: column 'misspelled_excol' does not exist
>
> On the "Other" system (Postgres 8.0) that error is NOT displayed.
> Infact, nothing is displayed it just returns to the prompt.

As I asked in my previous message, what's the output of the following
query?

SHOW client_min_messages;

My first guess is that client_min_messages is set to "fatal" or
"panic", which, although not among the documented settings for
client_min_messages, are allowed and would have the effect you
describe:

test=> SET client_min_messages TO panic;
SET
test=> SELECT misspelled_excol FROM extable;
test=> SET client_min_messages TO notice;
SET
test=> SELECT misspelled_excol FROM extable;
ERROR: column "misspelled_excol" does not exist

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Volk 2005-05-18 01:22:30 Fw: Error when install
Previous Message Tom Lane 2005-05-17 19:57:44 Re: BUG #1672: Postgres 8.0 doesn't return errors.