ecpg observation - Mailing list pgsql-general

From Sirish Kumar
Subject ecpg observation
Date
Msg-id 008a01bf6899$0dc89f40$edfea0cc@noida.hclt.com
Whole thread Raw
In response to ERROR: heap_delete: (am)invalid tid  (Marc Tardif <admin@wtbwts.com>)
List pgsql-general
Is following observation regarding "ecpg" correct ?

It is not possible to give different port number from embedded SQLs.
Following gives error on ecpg preprocessor :
exec sql connect to tcp:postgresql://localhost:1234/:dName ;
Where dName is a host variable for database name and 1234 is a port number.
The pre-processor cannot parse statement as the dName is a host variable.

Regards
S. Kumar




pgsql-general by date:

Previous
From: Fabian.Frederick@prov-liege.be
Date:
Subject: RE: [GENERAL] how to use pg-connect ?
Next
From: Nicolas Huillard
Date:
Subject: Problem with SELECT on large negative INT4