pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedECPG Semantic Analysis
3+ messages / 3 participants
[nested] [flat]
* ECPG Semantic Analysis
@ 2023-06-23 04:21 Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Juan Rodrigo Alejandro Burgos Mella @ 2023-06-23 04:21 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Hi
I have a modified version of ECPG, to which I gave the ability to do
semantic analysis of SQL statements. Where can you share it or with whom
can I discuss it?
Atte.
JRBM
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: ECPG Semantic Analysis
@ 2023-06-23 05:01 Michael Paquier <michael@paquier.xyz>
parent: Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Paquier @ 2023-06-23 05:01 UTC (permalink / raw)
To: Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
On Fri, Jun 23, 2023 at 12:21:48AM -0400, Juan Rodrigo Alejandro Burgos Mella wrote:
> I have a modified version of ECPG, to which I gave the ability to do
> semantic analysis of SQL statements. Where can you share it or with whom
> can I discuss it?
I cannot say what kind of problem this solves and/or if this is useful
as a feature of the ECPG driver in PostgreSQL core itself, but you
could consider submitting a patch for integration into core. See for
example here:
https://wiki.postgresql.org/wiki/Submitting_a_Patch
Note that things are pretty old-school around here, as all the
development discussions are done by email on the mailing list
pgsql-hackers, mostly.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: ECPG Semantic Analysis
@ 2023-06-23 11:06 Tom Lane <tgl@sss.pgh.pa.us>
parent: Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2023-06-23 11:06 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; +Cc: Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com>; pgsql-general@lists.postgresql.org
Michael Paquier <michael@paquier.xyz> writes:
> On Fri, Jun 23, 2023 at 12:21:48AM -0400, Juan Rodrigo Alejandro Burgos Mella wrote:
>> I have a modified version of ECPG, to which I gave the ability to do
>> semantic analysis of SQL statements. Where can you share it or with whom
>> can I discuss it?
> I cannot say what kind of problem this solves and/or if this is useful
> as a feature of the ECPG driver in PostgreSQL core itself, but you
> could consider submitting a patch for integration into core.
TBH I'd have to discourage you from expecting that such a patch would
be accepted. ECPG is pretty much of a development backwater nowadays.
We keep maintaining it because it's (mostly) not too much trouble
thanks to the work that was done years ago to auto-generate its
grammar from the main grammar. However, adding any sort of semantic
analysis to it seems like it'd take an enormous amount of new C code
that would then have to be kept in sync (by hand) with the backend
parser. Testing such a thing seems like a big time sink as well.
I seriously doubt that we'd be willing to take on such a maintenance
burden.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2023-06-23 11:06 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23 04:21 ECPG Semantic Analysis Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella@gmail.com>
2023-06-23 05:01 ` Michael Paquier <michael@paquier.xyz>
2023-06-23 11:06 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox