Skip site navigation (1) Skip section navigation (2)

Re: dblink patches for comment

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dblink patches for comment
Date: 2009-06-01 00:27:32
Message-ID: (view raw or whole thread)
Lists: pgsql-hackers
Tom Lane wrote:
> It's hard to review it without any docs that say what it's supposed to do.
> (And you'd need to patch the docs anyway, eh?)

Here's a much simpler SQL/MED support patch for dblink.

This enforces security in the same manner for FOREIGN SERVER connections 
as that worked out over time for other dblink connections. Essentially, 
the FOREIGN SERVER and associated user MAPPING provides the needed info 
for the libpq connection, but otherwise behavior is the same.

I've also attached a doc patch.



Attachment: dblink.2009.05.31.02-sqlmed_doc.diff
Description: text/x-patch (2.7 KB)
Attachment: dblink.2009.05.31.02-sqlmed.diff
Description: text/x-patch (7.7 KB)

In response to


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2009-06-01 02:53:59
Subject: Win32 link() function
Previous:From: Mark WongDate: 2009-06-01 00:08:07
Subject: survey of table blocksize changes

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group