mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Remove GetUserMappingId() and GetUserMappingById().
These functions were added in commitsfbe5a3fb7
anda104a017f
, but commit45639a052
removed their only callers. Put the related code in foreign.c back to the way it was in 9.5, to avoid pointless cross-version diffs. Etsuro Fujita Patch: <d674a3f1-6b63-519c-ef3f-f3188ed6a178@lab.ntt.co.jp>
This commit is contained in:
@ -1323,20 +1323,6 @@ GetForeignTable(Oid relid);
|
||||
|
||||
<para>
|
||||
<programlisting>
|
||||
UserMapping *
|
||||
GetUserMappingById(Oid umid);
|
||||
</programlisting>
|
||||
|
||||
This function returns the <structname>UserMapping</structname> object for
|
||||
the given user mapping OID. The OID of a user mapping for a foreign scan
|
||||
is available in the <structname>RelOptInfo</structname>.
|
||||
If there is no mapping for the OID, this function will throw an error.
|
||||
A <structname>UserMapping</structname> object contains properties of the
|
||||
user mapping (see <filename>foreign/foreign.h</filename> for details).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<programlisting>
|
||||
List *
|
||||
GetForeignColumnOptions(Oid relid, AttrNumber attnum);
|
||||
</programlisting>
|
||||
|
Reference in New Issue
Block a user