Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit317a568

Browse files
committed
Don't raise "identifier will be truncated" messages in dblink
except creating new connections.
1 parentb5efc09 commit317a568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/dblink/dblink.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ getConnectionByName(const char *name)
21092109
remoteConnHash=createConnHash();
21102110

21112111
key=pstrdup(name);
2112-
truncate_identifier(key,strlen(key),true);
2112+
truncate_identifier(key,strlen(key),false);
21132113
hentry= (remoteConnHashEnt*)hash_search(remoteConnHash,
21142114
key,HASH_FIND,NULL);
21152115

@@ -2170,7 +2170,7 @@ deleteConnection(const char *name)
21702170
remoteConnHash=createConnHash();
21712171

21722172
key=pstrdup(name);
2173-
truncate_identifier(key,strlen(key),true);
2173+
truncate_identifier(key,strlen(key),false);
21742174
hentry= (remoteConnHashEnt*)hash_search(remoteConnHash,
21752175
key,HASH_REMOVE,&found);
21762176

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp