summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_aggregate.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-11-07 12:11:40 +0100
committerPeter Eisentraut <peter@eisentraut.org>2020-11-07 12:26:24 +0100
commitbdc4edbea6fc847f806e1e7118d730e159512bfc (patch)
treefec14c35d86d88ce9c2913f2a6d54fa26c5f635c /src/include/catalog/pg_aggregate.h
parentb4c9695e79f79d39d55853acac4c1493ac70a529 (diff)
downloadpostgresql-bdc4edbea6fc847f806e1e7118d730e159512bfc.tar.gz
Move catalog index declarations
Move the system catalog index declarations from catalog/indexing.h to the respective parent tables' catalog/pg_*.h files. The original reason for having it split was that the old genbki system produced the output in the order of the catalog files it read, so all the indexing stuff needed to come separately. But this is no longer the case, and keeping it together makes more sense. Reviewed-by: John Naylor <john.naylor@enterprisedb.com> Discussion: https://www.postgresql.org/message-id/flat/c7cc82d6-f976-75d6-2e3e-b03d2cab26bb@2ndquadrant.com
Diffstat (limited to 'src/include/catalog/pg_aggregate.h')
-rw-r--r--src/include/catalog/pg_aggregate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/catalog/pg_aggregate.h b/src/include/catalog/pg_aggregate.h
index 52b8281594..7e94d604b9 100644
--- a/src/include/catalog/pg_aggregate.h
+++ b/src/include/catalog/pg_aggregate.h
@@ -110,6 +110,9 @@ typedef FormData_pg_aggregate *Form_pg_aggregate;
DECLARE_TOAST(pg_aggregate, 4159, 4160);
+DECLARE_UNIQUE_INDEX(pg_aggregate_fnoid_index, 2650, on pg_aggregate using btree(aggfnoid oid_ops));
+#define AggregateFnoidIndexId 2650
+
#ifdef EXPOSE_TO_CLIENT_CODE
/*