pg_dump truncating queries in error messages

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump truncating queries in error messages
Date: 2017-03-26 19:26:23
Message-ID: 63201ef9-26fb-3f1f-664d-98531678cebc@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2017-03-26 19:38:01 Re: [sqlsmith] Unpinning error in parallel worker
Previous Message Pavan Deolasee 2017-03-26 19:22:25 Stale comments in vacuumlazy.c