Hi,

Syntax rules in the SQL standard do not appear to include any restrictions on 
specifying COUNT multiple times.
However, since the behavior when COUNT is specified multiple times in SET 
DESCRIPTOR is not also defined, I consider this to be undefined behavior.

In Oracle's Pro*C, COUNT can be specified only once.

Specifying it multiple times results in a syntax error.

This issue has been occurring from PG14 to PG18, but no one has pointed it out 
until now.

For the reasons above, I would like to proceed with the policy of treating this 
as a syntax error.

Regards,
Masashi Kamura
Fujitsu Limited

Reply via email to