Dear ALL,
I want to report and consult about DECLARE STATEMENT.
This feature, committed last February, has some bugs.
* This is not thread-independent.
* If some cursors are declared for the same SQL identifier,
only one cursor you declared at last is enabled.
* This syntax does not have oracle compatibility.
In order to modify bugs, I think many designs, implementations,
and specifications should be changed.
Any operations will be done at the preprocessor process, like #define
macro in C.
It will take about 2 or 3 weeks to make a patch.
Is it acceptable for PG12?
Best Regards,
Hayato Kuroda
FUJITSU LIMITED
E-Mail:kuroda.hayato@fujitsu.com