diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-03 15:11:51 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-03 15:11:51 +0300 |
commit | 4987b564a17b88bee8c7ab434bdc053c5440e46f (patch) | |
tree | e3187a2aeb42c27635864a6f6d8c6792047ed76e /contrib/libs/postgresql/src/include/catalog/pg_opclass.h | |
parent | a5d3b02fe5c80d9fb8a6fe5e9c486e45046c0291 (diff) | |
download | ydb-4987b564a17b88bee8c7ab434bdc053c5440e46f.tar.gz |
intermediate changes
ref:73c1399b919c53b6b72f20d0e9f66f789717fc47
Diffstat (limited to 'contrib/libs/postgresql/src/include/catalog/pg_opclass.h')
-rw-r--r-- | contrib/libs/postgresql/src/include/catalog/pg_opclass.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/contrib/libs/postgresql/src/include/catalog/pg_opclass.h b/contrib/libs/postgresql/src/include/catalog/pg_opclass.h index 963ab3eae8..7b2cf25920 100644 --- a/contrib/libs/postgresql/src/include/catalog/pg_opclass.h +++ b/contrib/libs/postgresql/src/include/catalog/pg_opclass.h @@ -24,7 +24,7 @@ * AMs support this. * * - * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group + * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/catalog/pg_opclass.h @@ -57,10 +57,10 @@ CATALOG(pg_opclass,2616,OperatorClassRelationId) NameData opcname; /* namespace of this opclass */ - Oid opcnamespace BKI_DEFAULT(PGNSP); + Oid opcnamespace BKI_DEFAULT(pg_catalog) BKI_LOOKUP(pg_namespace); /* opclass owner */ - Oid opcowner BKI_DEFAULT(PGUID); + Oid opcowner BKI_DEFAULT(POSTGRES) BKI_LOOKUP(pg_authid); /* containing operator family */ Oid opcfamily BKI_LOOKUP(pg_opfamily); @@ -71,8 +71,8 @@ CATALOG(pg_opclass,2616,OperatorClassRelationId) /* T if opclass is default for opcintype */ bool opcdefault BKI_DEFAULT(t); - /* type of data in index, or InvalidOid */ - Oid opckeytype BKI_DEFAULT(0) BKI_LOOKUP(pg_type); + /* type of data in index, or InvalidOid if same as input column type */ + Oid opckeytype BKI_DEFAULT(0) BKI_LOOKUP_OPT(pg_type); } FormData_pg_opclass; /* ---------------- @@ -82,4 +82,9 @@ CATALOG(pg_opclass,2616,OperatorClassRelationId) */ typedef FormData_pg_opclass *Form_pg_opclass; +DECLARE_UNIQUE_INDEX(pg_opclass_am_name_nsp_index, 2686, on pg_opclass using btree(opcmethod oid_ops, opcname name_ops, opcnamespace oid_ops)); +#define OpclassAmNameNspIndexId 2686 +DECLARE_UNIQUE_INDEX_PKEY(pg_opclass_oid_index, 2687, on pg_opclass using btree(oid oid_ops)); +#define OpclassOidIndexId 2687 + #endif /* PG_OPCLASS_H */ |