Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 739EF1337990 for ; Mon, 22 Nov 2010 12:20:21 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 46530-09 for ; Mon, 22 Nov 2010 16:20:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 2C5161335B36 for ; Mon, 22 Nov 2010 12:20:13 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oAMGK9dg027732; Mon, 22 Nov 2010 11:20:09 -0500 (EST) To: "dp" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5761: In 'dblink' function connection string truncated In-reply-to: <201011220804.oAM843hl004885@wwwmaster.postgresql.org> References: <201011220804.oAM843hl004885@wwwmaster.postgresql.org> Comments: In-reply-to "dp" message dated "Mon, 22 Nov 2010 08:04:03 +0000" Date: Mon, 22 Nov 2010 11:20:09 -0500 Message-ID: <27731.1290442809@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/141 X-Sequence-Number: 28721 "dp" writes: > Description: In 'dblink' function connection string truncated > Details: > The connection info string in 'dblink' function truncated to 62 characters. > On execution: 'NOTICE: identifier "dbname=somebase host=xx.xxx.xx.xx > user=iamuser password=somepassword77 port=5432" will be truncated to > "dbname=somebase host=xx.xxx.xx.xx user=iamuser password=somepas"' Does this actually break anything, or is it just an annoying NOTICE? When I try it here, I get the NOTICE as described, but the connection string still works. regards, tom lane