diff options
Diffstat (limited to 'src/interfaces/ecpg/lib/connect.c')
-rw-r--r-- | src/interfaces/ecpg/lib/connect.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/lib/connect.c b/src/interfaces/ecpg/lib/connect.c index eac4fcc028e..5dc05ea7402 100644 --- a/src/interfaces/ecpg/lib/connect.c +++ b/src/interfaces/ecpg/lib/connect.c @@ -307,10 +307,11 @@ ECPGconnect(int lineno, const char *name, const char *user, const char *passwd, if (strncmp(dbname + offset, "postgresql://", strlen("postgresql://")) == 0) { - /* + /*------ * new style: - * <tcp|unix>:postgresql://server[:port|:/unixsocket/path:][/db - * name][?options] + * <tcp|unix>:postgresql://server[:port|:/unixsocket/path:] + * [/db name][?options] + *------ */ offset += strlen("postgresql://"); |