|
8 | 8 | * Darko Prenosil <Darko.Prenosil@finteh.hr>
|
9 | 9 | * Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
|
10 | 10 | *
|
11 |
| - * $PostgreSQL: pgsql/contrib/dblink/dblink.c,v 1.93 2010/06/0900:56:02 itagaki Exp $ |
| 11 | + * $PostgreSQL: pgsql/contrib/dblink/dblink.c,v 1.94 2010/06/0903:39:26 itagaki Exp $ |
12 | 12 | * Copyright (c) 2001-2010, PostgreSQL Global Development Group
|
13 | 13 | * ALL RIGHTS RESERVED;
|
14 | 14 | *
|
@@ -2399,7 +2399,7 @@ get_connect_string(const char *servername)
|
2399 | 2399 |
|
2400 | 2400 | /* first gather the server connstr options */
|
2401 | 2401 | srvname=pstrdup(servername);
|
2402 |
| -truncate_identifier(srvname,strlen(srvname),true); |
| 2402 | +truncate_identifier(srvname,strlen(srvname),false); |
2403 | 2403 | foreign_server=GetForeignServerByName(srvname, true);
|
2404 | 2404 |
|
2405 | 2405 | if (foreign_server)
|
|