postgresql/src/interfaces/ecpg
Daniel Gustafsson 69537f5d17 Remove duplicate lines of code
Commit 6df7a9698b accidentally included two identical prototypes for
default_multirange_selectivi() and commit 086cf1458c added a break;
statement where one was already present, thus duplicating it.  While
there is no bug caused by this, fix by removing the duplicated lines
as they provide no value.

Backpatch the fix for duplicate prototypes to v14 and the duplicate
break statement fix to all supported branches to avoid backpatching
hazards due to the removal.

Reported-by: Anton Voloshin <a.voloshin@postgrespro.ru>
Discussion: https://postgr.es/m/0e69cb60-0176-f6d0-7e15-6478b7d85724@postgrespro.ru
2023-04-24 11:16:17 +02:00
..
compatlib pkg-config Requires.private entries should be comma-separated 2023-03-16 07:37:38 +01:00
ecpglib ecpg: Fix handling of strings in ORACLE compat code with SQLDA 2023-04-18 11:20:41 +09:00
include Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgtypeslib Update copyright for 2023 2023-01-02 15:00:37 -05:00
preproc Remove duplicate lines of code 2023-04-24 11:16:17 +02:00
test ecpg: Fix handling of strings in ORACLE compat code with SQLDA 2023-04-18 11:20:41 +09:00
Makefile Add a temp-install prerequisite to src/interfaces/ecpg "checktcp". 2022-04-16 17:43:54 -07:00
README.dynSQL Fix whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00

README.dynSQL

src/interfaces/ecpg/README.dynSQL

descriptor statements have the following shortcomings

- input descriptors (USING DESCRIPTOR <name>) are not supported

  Reason: to fully support dynamic SQL the frontend/backend communication
          should change to recognize input parameters.
          Since this is not likely to happen in the near future and you
          can cover the same functionality with the existing infrastructure
          (using s[n]printf), I'll leave the work to someone else.