pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2

From: itagaki(at)postgresql(dot)org (Takahiro Itagaki)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2
Date: 2010-06-03 09:38:33
Message-ID: 20100603093833.B8B687541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Log Message:
-----------
Fix dblink to treat connection names longer than NAMEDATALEN-2 (62 bytes).
Now long names are adjusted with truncate_identifier() and NOTICE messages
are raised if names are actually truncated.

Backported to release 8.0.

Modified Files:
--------------
pgsql/contrib/dblink:
dblink.c (r1.91 -> r1.92)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.91&r2=1.92)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-06-03 09:40:17 pgsql: Fix dblink to treat connection names longer than NAMEDATALEN-2
Previous Message User Sachin 2010-06-03 09:07:11 stackbuilder - wizard: Added 'windows-x64' as the new platform type and

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2010-06-03 09:39:48 Re: Keepalive for max_standby_delay
Previous Message Fujii Masao 2010-06-03 09:18:50 Re: "caught_up" status in walsender