ECPG oracle mode test program patch - Mailing list pgsql-hackers

From Shinoda, Noriyoshi
Subject ECPG oracle mode test program patch
Date
Msg-id TU4PR8401MB0797C0E3F3208661D0718D9EEED60@TU4PR8401MB0797.NAMPRD84.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: ECPG oracle mode test program patch  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Hi, Hackers

The attached small patch is a modification to the test program of the function recently added to ECPG.
[Add Oracle like handling of char arrays.]
    https://git.postgresql.org/pg/commitdiff/3b7ab4380440d7b14ee390fabf39f6d87d7491e2

When the char_array program is executed, the following error occurs in the closed part of the CURSOR.

[NO_PID]: ecpg_check_PQresult on line 54: bad response - ERROR: cursor "cstr" does not exist
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: raising sqlstate 34000 (sqlcode -400): cursor "cstr" does not exist on line 54

The attached patch corrects the cursor name.

Regards,

Noriyoshi Shinoda



Attachment

pgsql-hackers by date:

Previous
From: john frazer
Date:
Subject: Problems with Error Messages wrt Domains, Checks
Next
From: Peter Eisentraut
Date:
Subject: Re: disable SSL compression?