Re: dblink for 8.4 should work without user-mappings

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: dblink for 8.4 should work without user-mappings
Date: 2009-06-24 10:07:52
Message-ID: 200906241307.52886.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday 24 June 2009 05:42:01 Itagaki Takahiro wrote:
> contrib/dblink in 8.4 supports a server name by CREATE SERVER for
> connection string, but it always requires an user-mapping (by CREATE USER
> MAPPING). However, I think it should work user-mappings because it works
> when the connection string is passed directly.

I had looked into this the other day. I *think* that SQL/MED requires a user
mapping to be present. There are cases where either behavior might be useful,
but we should think about this carefully. It's not simply a question of
security, as you appear to imply.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2009-06-24 11:11:11 Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Previous Message Boszormenyi Zoltan 2009-06-24 09:51:57 ECPG dynamic cursor, SQLDA support