RE: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.” - Mailing list pgsql-hackers

From Hayato Kuroda (Fujitsu)
Subject RE: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”
Date
Msg-id OS9PR01MB12149398DAE5BCB582837AC77F52C2@OS9PR01MB12149.jpnprd01.prod.outlook.com
Whole thread
In response to Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”  (lakshmi <lakshmigcdac@gmail.com>)
Responses Re: ECPG: inconsistent behavior with the document in “GET/SET DESCRIPTOR.”
List pgsql-hackers
Dear Lakshmi,

> After applying the patch and rebuilding ecpg, the same statement is now rejected
> during preprocessing with a syntax error. So the patch works as expected.

His patch may work well, but I'm unclear whether it's the correct way to fix.
See my question [1]:

```
IIUC, there is another approach, allowing to specify multiple COUNT clause
in the SET/GET DESCRIPTOR. E.g.,
```

We may have to follow SQL standard or other precompilers like Pro*C.
(Not sure we should spend the effort for the investigation though)

[1]:
https://www.postgresql.org/message-id/OS9PR01MB12149D090EDD1D8D70770DED7F5232%40OS9PR01MB12149.jpnprd01.prod.outlook.com

Best regards,
Hayato Kuroda
FUJITSU LIMITED


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Better shared data structure management and resizable shared data structures
Next
From: SATYANARAYANA NARLAPURAM
Date:
Subject: Re: [Bug][patch]: After dropping the last label from a property graph element, invoking pg_get_propgraphdef() triggers an assertion failure