From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chuck Haatvedt <chuck.haatvedt@gmail.com>
Cc: pgsql-general@postgresql.org, Simon Sobisch <simonsobisch@gnu.org>
Subject: Re: COBOL PRECOMPILER for PostGreSQL
Date: Sat, 13 Jan 2024 01:08:49 -0500
Message-ID: <878664.1705126129@sss.pgh.pa.us> (raw)
In-Reply-To: <cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com>
References: <cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com>
Chuck Haatvedt <chuck.haatvedt@gmail.com> writes:
> I would like to propose that the ECPG precompiler for C, to be
> modified to accept either C or COBOL. Another option would be to
> clone ECPG to work with the COBOL language.
The latter option seems much more likely to succeed than the former.
Either way, however, I'd guess that the amount of COBOL expertise
in the existing Postgres community is not distinguishable from zero.
So "proposing" this is not going to make it happen. If you want to
step up with a patch, then maybe, but even then I'm not sure we'd
want to commit to maintaining it as part of the core PG project.
The most likely path to success is to plan on creating an ECPG
fork maintained separately by interested people.
FWIW, the only reason ECPG is part of our core distro is that
years ago it used to require significant manual effort to keep it
up to date with core grammar changes. Since we invented a process
for auto-generating the ECPG grammar from the core grammar, it's
seemed like maybe ECPG could be kept at arm's length after all,
though we've not seriously tried to push it out as a separate
project. We could talk about what additional stuff might be
needed in that infrastructure to make it work for a COBOL wrapper
... but I think somebody else has to take point on making that
happen.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, chuck.haatvedt@gmail.com, simonsobisch@gnu.org
Subject: Re: COBOL PRECOMPILER for PostGreSQL
In-Reply-To: <878664.1705126129@sss.pgh.pa.us>
References: <cec9679f-f26a-400a-b06b-656c4ee9262f@gmail.com> <878664.1705126129@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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