ecpg observation

From: "Sirish Kumar" <sirishk(at)noida(dot)hclt(dot)com>
To: <pgsql-general(at)postgreSQL(dot)org>
Subject: ecpg observation
Date: 2000-01-27 07:35:14
Message-ID: 008a01bf6899$0dc89f40$edfea0cc@noida.hclt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc 2000-01-27 08:42:28 how to: list of synonyms (Oracle)?
Previous Message Fabian.Frederick 2000-01-27 07:32:25 RE: [GENERAL] how to use pg-connect ?