Re: Messages o Terminal

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Messages o Terminal
Date: 2025-03-05 01:13:10
Message-ID: b3afd989-1373-482d-8cb4-7f4520cc606e@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/4/25 22:28, Igor Korot wrote:
> Hi, ALL,
> I'm trying to execute:
>
> [code]
> queries.push_back( L"CREATE TABLE IF NOT EXISTS ......
> [/code]
>
> However, when I run my profeam second tme I see n the Terminal:
>
> [quote]
> NOTICE: relation "abcatcol" already exists, skipping
> [/quote]
>
> Is there any way to suppress this NOTICE message?

From here:

https://www.postgresql.org/docs/current/runtime-config-client.html

SET set client_min_messages = <something above NOTICE>;

You could that for just the session.

>
> Thank you.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-03-05 01:13:20 Re: Messages o Terminal
Previous Message Garfield Lewis 2025-03-05 01:12:13 Re: [EXT] Re: Get CTID from within an OUTPUT/SEND function