RE: A problem presentaion about ECPG, DECLARE STATEMENT

From: "kuroda(dot)hayato(at)fujitsu(dot)com" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'Peter Eisentraut' <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Michael Meskes <meskes(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: A problem presentaion about ECPG, DECLARE STATEMENT
Date: 2019-09-18 11:41:33
Message-ID: TY2PR01MB2443C3CF33229ACEDCA13B6AF58E0@TY2PR01MB2443.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear all,

Hi, thank you for replying.

> It seems far too late to be considering any major rewrite for v12;

> If a solid case can be made that ECPG's DECLARE STATEMENT was done
> wrong, we'd be better off to just revert the feature out of v12
> and try again, under less time pressure, for v13.

I see, I'll propose this at the next commitfest.
But I'm now considering this commit should be reverted in order to avoid
the confusion.

In oracle and postgres, this statement is used for the purpose of designating
a connection easily. If two functions have a similar goal, these ones should be
used by same way. Some specifications denoted in the document follow oracle's one.
Maybe it's not indicated in the oracle manual, and I understand it should be
discussed more.

Now, one of the major difference of usage between these DBMSs is namespace.
The current namespace unit of postgres is a process, however, oracle ensures
that SQL identifiers are unique only within the file. This means that only
postgres user cannot recycle identifier. This distinction might be inconvenient,
and it makes more confusing to change a namespace after releasing Postgres 12.

I'm now planning remake this function and change namespace unit from a process
to a file.
So I recommend you to throw this away temporally.

I want to hear your opinion.

Best Regards,
Hayato Kuroda
Fujitsu LIMITED

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message kuroda.hayato@fujitsu.com 2019-09-18 11:46:17 RE: A problem presentaion about ECPG, DECLARE STATEMENT
Previous Message Fujii Masao 2019-09-18 11:37:53 Re: [PATCH] Speedup truncates of relation forks