From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | some more error location support |
Date: | 2018-08-27 07:11:48 |
Message-ID: | 9261ac49-e793-f43e-ee47-28133423baff@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Here are three patches to add more detailed error location support to
some parts of CREATE TABLE (defaults, check constraints, partition
specifications) as well as the COPY command. Examples can be seen in
the regression test output.
The first two are low-hanging fruit, since all the information was
already collected and just needed to be passed through one last hop.
The third one is a bit more invasive; it adds location information to
the Value node, which is used in a variety of commands, so COPY is just
a start here.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachment | Content-Type | Size |
---|---|---|
0001-Error-position-support-for-defaults-and-check-constr.patch | text/plain | 4.2 KB |
0002-Error-position-support-for-partition-specifications.patch | text/plain | 5.0 KB |
0003-Add-location-information-to-Value-nodes.patch | text/plain | 12.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2018-08-27 07:37:29 | Re: Adding a note to protocol.sgml regarding CopyData |
Previous Message | Fabien COELHO | 2018-08-27 06:43:02 | Re[2]: Adding a note to protocol.sgml regarding CopyData |