doc: improve document of ECPG host variable

Started by Ryo Matsumura (Fujitsu)over 2 years ago1 messageshackers
Beta feature

Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.

appliessuccessCI history

You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:

docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t48827
psql -h localhost -U postgres

Built from patchset v1 (message #1), August 17, 2026 at 10:12 AM.

Jump to latest
#1Ryo Matsumura (Fujitsu)
matsumura.ryo@fujitsu.com

Hi hackers,

I attach a small patch improving document of ECPG host variable.
Please back patch to supported version, if possible.

Range of 'bool' as type of ECPG is not defined explicitly. Our customer was confused.
Additionally, I could not understand clearly what the existing sentence mentions to user.

My idea is as follows:

- [b] declared in ecpglib.h if not native
+ [b] Range of bool is true/false only.
      There is no need to include any header like stdbool.h for type and literals
      because they are defined by ECPG and
      ECPG internally includes a appropriate C language standard header or
      deifnes them if there is no such header.

Best Regards
Ryo Matsumura

Attachments:

doc-ecpg-var.patchapplication/octet-stream; name=doc-ecpg-var.patchDownload+11-1