Skip site navigation (1) Skip section navigation (2)

Re: pg_dump 'die_on_errors'

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>,<pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_dump 'die_on_errors'
Date: 2004-08-15 07:00:02
Message-ID: 6.1.1.1.0.20040815165323.042ce008@203.8.195.10 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
At 02:32 PM 12/08/2004, Philip Warner wrote:
>At 01:27 PM 12/08/2004, Bruce Momjian wrote:
>Set client_min_messages to WARNING?
>
>Sounds like a plan.

Attached patch sets client_min_messages as above and gives some 
context to errors messages, eg:

pg_restore: [archiver (db)] Error from TOC Entry 19; 1255 16438403 FUNCTION foo() pjw
pg_restore: [archiver (db)] could not execute query: ERROR:  no schema has been selected to create in
pg_restore: [archiver (db)] could not execute query: ERROR:  schema "public" does not exist
pg_restore: [archiver (db)] Error from TOC Entry 1475; 0 0 ACL public postgres
pg_restore: [archiver (db)] could not execute query: ERROR:  schema "public" does not exist
pg_restore: [archiver (db)] could not execute query: ERROR:  schema "public" does not exist
pg_restore: [archiver (db)] could not execute query: ERROR:  schema "public" does not exist
pg_restore: [archiver (db)] could not execute query: ERROR:  schema "public" does not exist



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp.mit.edu:11371       |/ 

Attachment: pg_dump_040815.patch.gz
Description: application/octet-stream (1.3 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Gavin SherryDate: 2004-08-15 07:43:44
Subject: Savepoint weirdness
Previous:From: Tom LaneDate: 2004-08-15 06:15:29
Subject: Re: stats collector dies in current

pgsql-patches by date

Next:From: Andrew DunstanDate: 2004-08-15 10:18:46
Subject: Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to
Previous:From: Bruce MomjianDate: 2004-08-15 00:41:45
Subject: Re: make fails if path has spaces

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group