Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ On Windows, ECPGPlus is installed by the EDB Postgres Advanced Server installati

## Installing ECPGPlus

On Linux, install with the `edb-as<xx>-server-devel` RPM package or `edb-as<xx>-server-dev` APT package, where `<xx>` is the EDB Postgres Advanced Server version number. On Linux, the executable is located in:
On Linux, install with the `edb-as<xx>-server-ecpg-devel` RPM package and `edb-as<xx>-server-devel` RPM package or `edb-as<xx>-server-dev` APT package, where `<xx>` is the EDB Postgres Advanced Server version number. On Linux, the executable is located in:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
On Linux, install with the `edb-as<xx>-server-ecpg-devel` RPM package and `edb-as<xx>-server-devel` RPM package or `edb-as<xx>-server-dev` APT package, where `<xx>` is the EDB Postgres Advanced Server version number. On Linux, the executable is located in:
On Linux, install the `edb-as<xx>-server-ecpg-devel` RPM package and the `edb-as<xx>-server-devel` RPM package or `edb-as<xx>-server-dev` APT package, where `<xx>` is the EDB Postgres Advanced Server version number. On Linux, the executable is located in:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
I agree with the minor change.
Could you confirm at your side that the apt package is also edb-as-server-ecpg-devel not edb-as-server-ecpg-dev?

Kind Regards,
Yuki Tei


```text
/usr/edb/as14/bin
/usr/edb/as18/bin
```

On Windows, the executable is located in:

```text
C:\Program Files\edb\as14\bin
C:\Program Files\edb\as18\bin
```

When invoking the ECPGPlus compiler, the executable must be in your search path (`%PATH%` on Windows, `$PATH` on Linux). For example, the following commands set the search path to include the directory that holds the ECPGPlus executable file `ecpg`.

On Windows:

```shell
set EDB_PATH=C:\Program Files\edb\as14\bin
set EDB_PATH=C:\Program Files\edb\as18\bin
set PATH=%EDB_PATH%;%PATH%
```

On Linux:

```shell
export EDB_PATH==/usr/edb/as14/bin
export EDB_PATH==/usr/edb/as18/bin
export PATH=$EDB_PATH:$PATH
```

Expand Down Expand Up @@ -114,7 +114,7 @@ In the sample makefile, make includes the `-C` option when invoking ECPGPlus to
If you include the `-C` `PROC` keywords at the command line, in addition to the ECPG syntax, you can use Pro\*C command line syntax. For example:

```shell
$ ecpg -C PROC INCLUDE=/usr/edb/as14/include acct_update.c
$ ecpg -C PROC INCLUDE=/usr/edb/as18/include acct_update.c
```

To display a complete list of the other ECPGPlus options available, in the ECPGPlus installation directory, enter:
Expand Down