From: Tom Lane <tgl@sss.pgh.pa.us>
To: queej <dqj@quinn-jacobs.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5761: In 'dblink' function connection string truncated
Date: Mon, 29 Nov 2010 13:27:38 -0500
Message-ID: <1053.1291055258@sss.pgh.pa.us> (raw)
In-Reply-To: <7dea3e9c-243d-4613-a27e-336abcb0905f@l17g2000yqe.googlegroups.com>
References: <201011220804.oAM843hl004885@wwwmaster.postgresql.org>
<27731.1290442809@sss.pgh.pa.us>
<1291045809415-3284606.post@n5.nabble.com>
<7dea3e9c-243d-4613-a27e-336abcb0905f@l17g2000yqe.googlegroups.com>
queej <dqj@quinn-jacobs.org> writes:
> On Nov 29, 10:50 am, d...@authentrics.com (queej) wrote:
>> Yes, it causes an error for me since it truncates the connection string in
>> the middle of the username, omitting the password altogether. I must be
>> missing something; I can't understand what my alternative is but to call the
>> dblink(text,text) function with a connection string and a SQL statement.
> I should have mentioned that my dblink() calls are within views, so I
> cannot do a two-step process of dblink_connect() followed by a
> dblink().
As far as our investigation could tell, the message you're complaining
about is simply a warning and would not result in any actual failure.
I agree it's a bug that the message comes out at all, but it appears
to be just cosmetic. If you have a situation where it leads to a
non-cosmetic problem, you need to provide a complete test case
illustrating that, or it's not going to get fixed.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, dqj@quinn-jacobs.org
Subject: Re: BUG #5761: In 'dblink' function connection string truncated
In-Reply-To: <1053.1291055258@sss.pgh.pa.us>
References: <201011220804.oAM843hl004885@wwwmaster.postgresql.org> <27731.1290442809@sss.pgh.pa.us> <1291045809415-3284606.post@n5.nabble.com> <7dea3e9c-243d-4613-a27e-336abcb0905f@l17g2000yqe.googlegroups.com> <1053.1291055258@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox