From: | Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: dblink for 8.4 should work without user-mappings |
Date: | 2010-02-25 00:49:33 |
Message-ID: | 20100225094933.915C.52131E4D@oss.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> What happened to this patch?
It was rejected because SQL standard always requires an user mapping.
I agree about the decision, too.
> ---------------------------------------------------------------------------
> 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.
> >
> > The attached patch adds 'missing_ok' parameter to GetUserMapping() and
> > made dblink to use it. There should be no additional security issues here
> > because dblink's original security check works even for server name mode.
Regards,
---
Takahiro Itagaki
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2010-02-25 01:36:07 | Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset |
Previous Message | Simon Riggs | 2010-02-25 00:41:27 | Re: pg_stop_backup does not complete |