Re: pg_dump truncating queries in error messages - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump truncating queries in error messages
Date
Msg-id 15187.1490558978@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump truncating queries in error messages  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: pg_dump truncating queries in error messages  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> When reporting an error from a query, pg_dump truncates the reported
> query to 128 characters (pg_backup_db.c ExecuteSqlCommand()).

> Is this (still) sensible?  The kind of queries that pg_dump is running
> nowadays, I find myself unable to debug them if they are truncated at
> that length.

Not clear that it ever was very sensible ... +1 for removing the limit.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [sqlsmith] Unpinning error in parallel worker
Next
From: Nikolay Shaplov
Date:
Subject: Re: [PATCH] Move all am-related reloption code into src/backend/access/[am-name] and get rid of relopt_kind for custom AM