On Tue, Feb 9, 2016 at 1:22 PM, Ashutosh Bapat <ashutosh.ba...@enterprisedb.com> wrote: > The userid being printed is from UserMapping. The new API > GetUserMappingById() allows an FDW to get user mapping by its OID. This API > is intended to be used by FDWs to fetch the user mapping inferred by the > core for given join between foreign relations. In such user mapping object , > userid may be -1 for a public user mapping.
I am a bit surprised by this sentence, UserMapping->userid is an Oid, and those are unsigned. Could you clarify? -- Michael -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers