Re: How to turn off DEBUG statements from psql commends

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: peterlen <peteralen(at)earthlink(dot)net>
Cc: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to turn off DEBUG statements from psql commends
Date: 2014-02-10 15:54:45
Message-ID: CAB8KJ=ifcWrAehkUppBEb=KGU_+uwA6TBn_xKFDhQS9N78ULNg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2014-02-11 0:43 GMT+09:00 peterlen <peteralen(at)earthlink(dot)net>:
> We are using PostgreSQL 9.3. Something seems to have changed with our psql
> command-line output since we first installed it. When I run commands at my
> plsql prompt, I am getting a lot of debug statements which I was not getting
> before. I am just trying to find out how to tell psql not to display this
> output. As an example, if I were to create a new 'test' schema, the output
> looks like:
>
> gis_demo=# create schema test;
> DEBUG: StartTransactionCommand
> DEBUG: StartTransaction
> DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR,
> xid/subid/cid:
> 0/1/0, nestlvl: 1, children:
> LOG: statement: create schema test;
> DEBUG: ProcessUtility
> DEBUG: CommitTransactionCommand
> DEBUG: CommitTransaction
> DEBUG: name: unnamed; blockState: STARTED; state: INPROGR,
> xid/subid/cid:
> 15099/1/1, nestlvl: 1, children:
> CREATE SCHEMA
> gis_demo=#
>
>
> Before, all I would get is the CREATE SCHEMA feedback. Not sure what may
> have caused this change on our end but does anyone know how to turn it off?

What does "SHOW client_min_messages" return?

This has possibly been set to something other than the default in your
.psqlrc file
or the postgresql.conf file.

Regards

Ian Barwick

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Giuseppe Broccolo 2014-02-10 16:06:19 Re: How to turn off DEBUG statements from psql commends
Previous Message Andrew Sullivan 2014-02-10 15:54:33 Re: How to turn off DEBUG statements from psql commends