{"Entry":{"collection":"func","key":"pg-get-object-address","name":"pg_get_object_address","aliases":[],"metadata":{"changed_in":["11"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.5"},{"descriptions_changed":false,"doc_overhaul":false,"from":"10","group_changed":null,"signatures":{"added":["pg_get_object_address ( type text, object_names text[], object_args text[] ) → classid oid, objid oid, objsubid integer"],"removed":["pg_get_object_address ( type text, name text[], args text[] ) → classid oid, objid oid, objsubid integer"]},"status":"changed","to":"11"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"13","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"14"}],"content_hash":"f22872c58f8712c120831ec3361fa66d4be776a4c6f1f20a170cb448e543258b","first_version":"9.5","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.198312+08:00","last_version":"20","name":"pg_get_object_address","name_key":"pg_get_object_address","position":28066,"present_in":["9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer )","signature_count":1,"slug":"pg-get-object-address","source_rev":"b7bd9cda","summary":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-get-object-address","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-get-object-address","SourceRevision":"b7bd9cda","Facts":{"description":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays. The returned values are the ones that would be used in system catalogs such as pg_depend; they can be passed to other system functions such as pg_describe_object or pg_identify_object. classid is the OID of the system catalog containing the object; objid is the OID of the object itself, and objsubid is the sub-object ID, or zero if none. This function is the inverse of pg_identify_object_as_address. Undefined objects are identified with NULL values.","description_html":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays. The returned values are the ones that would be used in system catalogs such as \u003ccode class=\"structname\"\u003epg_depend\u003c/code\u003e; they can be passed to other system functions such as \u003ccode class=\"function\"\u003epg_describe_object\u003c/code\u003e or \u003ccode class=\"function\"\u003epg_identify_object\u003c/code\u003e. \u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e is the OID of the system catalog containing the object; \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e is the OID of the object itself, and \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e is the sub-object ID, or zero if none. This function is the inverse of \u003ccode class=\"function\"\u003epg_identify_object_as_address\u003c/code\u003e. Undefined objects are identified with \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e values.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-OBJECT-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays. The returned values are the ones that would be used in system catalogs such as pg_depend; they can be passed to other system functions such as pg_describe_object or pg_identify_object. classid is the OID of the system catalog containing the object; objid is the OID of the object itself, and objsubid is the sub-object ID, or zero if none. This function is the inverse of pg_identify_object_as_address. Undefined objects are identified with NULL values.","description_html":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays. The returned values are the ones that would be used in system catalogs such as \u003ccode class=\"structname\"\u003epg_depend\u003c/code\u003e; they can be passed to other system functions such as \u003ccode class=\"function\"\u003epg_describe_object\u003c/code\u003e or \u003ccode class=\"function\"\u003epg_identify_object\u003c/code\u003e. \u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e is the OID of the system catalog containing the object; \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e is the OID of the object itself, and \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e is the sub-object ID, or zero if none. This function is the inverse of \u003ccode class=\"function\"\u003epg_identify_object_as_address\u003c/code\u003e. Undefined objects are identified with \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e values.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_get_object_address\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etype\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobject_names\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobject_args\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003erecord\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e )","returns":"record","text":"pg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer )","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-OBJECT-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-get-object-address","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_get_object_address","Summary":"返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是pg_depend等系统目录中使用的值；它们可以传给pg_describe_object或pg_identify_object等其他系统函数。classid是包含该对象的系统目录的 OID；objid是对象自身的 OID；objsubid是子对象 ID，没有子对象时为零。此函数执行pg_identify_object_as_address的逆操作。未定义的对象以NULL值标识。","BodyHTML":"返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是\u003ccode\u003epg_depend\u003c/code\u003e等系统目录中使用的值；它们可以传给\u003ccode\u003epg_describe_object\u003c/code\u003e或\u003ccode\u003epg_identify_object\u003c/code\u003e等其他系统函数。\u003cem\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e是包含该对象的系统目录的 OID；\u003cem\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e是对象自身的 OID；\u003cem\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e是子对象 ID，没有子对象时为零。此函数执行\u003ccode\u003epg_identify_object_as_address\u003c/code\u003e的逆操作。未定义的对象以\u003ccode\u003eNULL\u003c/code\u003e值标识。\u003cpre\u003epg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer )\u003c/pre\u003e返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是\u003ccode\u003epg_depend\u003c/code\u003e等系统目录中使用的值；它们可以传给\u003ccode\u003epg_describe_object\u003c/code\u003e或\u003ccode\u003epg_identify_object\u003c/code\u003e等其他系统函数。\u003cem\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e是包含该对象的系统目录的 OID；\u003cem\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e是对象自身的 OID；\u003cem\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e是子对象 ID，没有子对象时为零。此函数执行\u003ccode\u003epg_identify_object_as_address\u003c/code\u003e的逆操作。未定义的对象以\u003ccode\u003eNULL\u003c/code\u003e值标识。","SourceRevision":"ca936764","ContentHash":"9607b477233bf9e8c9525bcfd44836995f5b87293a8ebb85a0776db211c8c0d0","Payload":{"description_zh":"返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是pg_depend等系统目录中使用的值；它们可以传给pg_describe_object或pg_identify_object等其他系统函数。classid是包含该对象的系统目录的 OID；objid是对象自身的 OID；objsubid是子对象 ID，没有子对象时为零。此函数执行pg_identify_object_as_address的逆操作。未定义的对象以NULL值标识。","description_zh_html":"返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是\u003ccode class=\"structname\"\u003epg_depend\u003c/code\u003e等系统目录中使用的值；它们可以传给\u003ccode class=\"function\"\u003epg_describe_object\u003c/code\u003e或\u003ccode class=\"function\"\u003epg_identify_object\u003c/code\u003e等其他系统函数。\u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e是包含该对象的系统目录的 OID；\u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e是对象自身的 OID；\u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e是子对象 ID，没有子对象时为零。此函数执行\u003ccode class=\"function\"\u003epg_identify_object_as_address\u003c/code\u003e的逆操作。未定义的对象以\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e值标识。","signatures":[{"description_zh":"返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是pg_depend等系统目录中使用的值；它们可以传给pg_describe_object或pg_identify_object等其他系统函数。classid是包含该对象的系统目录的 OID；objid是对象自身的 OID；objsubid是子对象 ID，没有子对象时为零。此函数执行pg_identify_object_as_address的逆操作。未定义的对象以NULL值标识。","description_zh_html":"返回一行，其中包含足以唯一标识数据库对象的信息，该对象由类型代码、对象名称数组和参数数组指定。返回的值就是\u003ccode class=\"structname\"\u003epg_depend\u003c/code\u003e等系统目录中使用的值；它们可以传给\u003ccode class=\"function\"\u003epg_describe_object\u003c/code\u003e或\u003ccode class=\"function\"\u003epg_identify_object\u003c/code\u003e等其他系统函数。\u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e是包含该对象的系统目录的 OID；\u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e是对象自身的 OID；\u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e是子对象 ID，没有子对象时为零。此函数执行\u003ccode class=\"function\"\u003epg_identify_object_as_address\u003c/code\u003e的逆操作。未定义的对象以\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e值标识。","returns":"record","text":"pg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer )","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"d0561efb92fbf12fa2db5caa31393fbb07fdf285eb5af1ed486473fd6b3854c9","Text":"pg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer )","Returns":"record","Payload":{"description":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays. The returned values are the ones that would be used in system catalogs such as pg_depend; they can be passed to other system functions such as pg_describe_object or pg_identify_object. classid is the OID of the system catalog containing the object; objid is the OID of the object itself, and objsubid is the sub-object ID, or zero if none. This function is the inverse of pg_identify_object_as_address. Undefined objects are identified with NULL values.","description_html":"Returns a row containing enough information to uniquely identify the database object specified by a type code and object name and argument arrays. The returned values are the ones that would be used in system catalogs such as \u003ccode class=\"structname\"\u003epg_depend\u003c/code\u003e; they can be passed to other system functions such as \u003ccode class=\"function\"\u003epg_describe_object\u003c/code\u003e or \u003ccode class=\"function\"\u003epg_identify_object\u003c/code\u003e. \u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e is the OID of the system catalog containing the object; \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e is the OID of the object itself, and \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e is the sub-object ID, or zero if none. This function is the inverse of \u003ccode class=\"function\"\u003epg_identify_object_as_address\u003c/code\u003e. Undefined objects are identified with \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e values.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_get_object_address\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etype\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobject_names\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobject_args\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003erecord\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eclassid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eobjsubid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e )","returns":"record","text":"pg_get_object_address ( type text, object_names text[], object_args text[] ) → record ( classid oid, objid oid, objsubid integer )","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
