From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Banck <mbanck(at)gmx(dot)net>, Tommy Pavlicek <tommypav122(at)gmail(dot)com>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org, jian(dot)universality(at)gmail(dot)com |
Subject: | Better error reporting from extension scripts (Was: Extend ALTER OPERATOR) |
Date: | 2024-09-27 12:17:15 |
Message-ID: | ZvaiS57G10dITjQm@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Re: Tom Lane
> So the first part of that is great, but if your script file is
> large you probably won't be happy about having the whole thing
> repeated in the "QUERY" field. So this needs some work on
> user-friendliness.
Does this really have to be addressed? It would be way better than it
is now, and errors during extension creation are rare and mostly for
developers only, so it doesn't have to be pretty.
> I'm inclined to think that maybe we'd be best off keeping the server
> end of it straightforward, and trying to teach psql to abbreviate the
> QUERY field in a useful way. IIRC you get this same type of problem
> with very large SQL-language functions and suchlike.
I'd treat this as a separate patch, if it's considered to be a good
idea.
Christoph
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2024-09-27 13:07:09 | Re: not null constraints, again |
Previous Message | Robert Haas | 2024-09-27 12:08:31 | Re: Opinion poll: Sending an automated email to a thread when it gets added to the commitfest |