RE: Is PREPARE of ecpglib thread safe? - Mailing list pgsql-hackers

From kuroda.hayato@fujitsu.com
Subject RE: Is PREPARE of ecpglib thread safe?
Date
Msg-id OSAPR01MB20048298F882D25897C6AB23F5EF0@OSAPR01MB2004.jpnprd01.prod.outlook.com
Whole thread Raw
In response to RE: Is PREPARE of ecpglib thread safe?  ("Kuroda, Hayato" <kuroda.hayato@jp.fujitsu.com>)
List pgsql-hackers
Dear all,

I apologize for my late reply.
I realized that the current implementation could not imitate the oracle's precompiler.
The attached example can be accepted by both precompilers, but building the c file made by ecpg fails.

For handling this source, we have to refactor some sources related with DECLARE STATEMENT.
My draft amendment is converting the sentence from executable to declarative, that is:

* change to operate only if a pgc file is precompiled
* remove related code from ecpglib directory

In this case, the namespace of a SQL identifier is file independent, and
sources becomes more simple.

I will start making patches.
Do you have any comments or suggestions?


Best Regards.
Hayato Kuroda
Fujitsu LIMITED




Attachment

pgsql-hackers by date:

Previous
From: "Iwata, Aya"
Date:
Subject: RE: libpq debug log
Next
From: "Tsunakawa, Takayuki"
Date:
Subject: RE: [PATCH] Speedup truncates of relation forks