mirror of
https://github.com/postgres/postgres.git
synced 2026-04-28 17:49:35 -04:00
Use abbreviated connection string more widely.
This seems to fix the trouble with PowerBuilder reported by Magbus Weber.
This commit is contained in:
parent
15c21bf8e1
commit
8bf1e098dd
1 changed files with 2 additions and 1 deletions
|
|
@ -506,7 +506,8 @@ makeConnectString(char *connect_string, const ConnInfo *ci, UWORD len)
|
|||
char got_dsn = (ci->dsn[0] != '\0');
|
||||
char encoded_conn_settings[LARGE_REGISTRY_LEN];
|
||||
UWORD hlen;
|
||||
BOOL abbrev = (len <= 400);
|
||||
/*BOOL abbrev = (len <= 400);*/
|
||||
BOOL abbrev = (len < 1024);
|
||||
|
||||
/* fundamental info */
|
||||
sprintf(connect_string, "%s=%s;DATABASE=%s;SERVER=%s;PORT=%s;UID=%s;PWD=%s",
|
||||
|
|
|
|||
Loading…
Reference in a new issue