mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08: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
@ -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 New Issue
Block a user