20 #define MappingUserName(userid) \
21 (OidIsValid(userid) ? GetUserNameFromId(userid, false) : "public")
61 #define FSV_MISSING_OK 0x01
64 #define FDW_MISSING_OK 0x01
ForeignDataWrapper * GetForeignDataWrapper(Oid fdwid)
ForeignServer * GetForeignServerExtended(Oid serverid, bits16 flags)
struct ForeignServer ForeignServer
ForeignTable * GetForeignTable(Oid relid)
struct ForeignTable ForeignTable
Oid get_foreign_server_oid(const char *servername, bool missing_ok)
UserMapping * GetUserMapping(Oid userid, Oid serverid)
List * GetForeignColumnOptions(Oid relid, AttrNumber attnum)
struct ForeignDataWrapper ForeignDataWrapper
ForeignDataWrapper * GetForeignDataWrapperExtended(Oid fdwid, bits16 flags)
ForeignDataWrapper * GetForeignDataWrapperByName(const char *fdwname, bool missing_ok)
ForeignServer * GetForeignServer(Oid serverid)
ForeignServer * GetForeignServerByName(const char *srvname, bool missing_ok)
struct UserMapping UserMapping
Oid get_foreign_data_wrapper_oid(const char *fdwname, bool missing_ok)