GS_DATABASE_LINK
GS_DATABASE_LINK stores database link information, mainly recording detailed information about database links. Only sysadmin can read this system catalog.
Name | Type | Description |
|---|---|---|
oid | oid | Unique ID of the current database link object (hidden attribute, which must be specified). |
dlname | name | Name of the current database link. |
dlowner | oid | ID of the owner of the current database link. If the owner is public, the value is 0. |
dlfdw | oid | OID of the foreign-data wrapper of the current database link. |
dlcreater | oid | ID of the creator of the current database link. |
options | text[] | Current database link connection information in the format of "keyword=value". |
useroptions | text[] | User information used by the current database link to connect to the remote end, in the format of "keyword=value". |
dlacl | aclitem[] | Current database link access permission. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

