
This feature set did not handle empty ranges correctly, and it's now too late for PostgreSQL 17 to fix it. The following commits are reverted: 6db4598fcb8 Add stratnum GiST support function 46a0cd4cefb Add temporal PRIMARY KEY and UNIQUE constraints 86232a49a43 Fix comment on gist_stratnum_btree 030e10ff1a3 Rename pg_constraint.conwithoutoverlaps to conperiod a88c800deb6 Use daterange and YMD in without_overlaps tests instead of tsrange. 5577a71fb0c Use half-open interval notation in without_overlaps tests 34768ee3616 Add temporal FOREIGN KEY contraints 482e108cd38 Add test for REPLICA IDENTITY with a temporal key c3db1f30cba doc: clarify PERIOD and WITHOUT OVERLAPS in CREATE TABLE 144c2ce0cc7 Fix ON CONFLICT DO NOTHING/UPDATE for temporal indexes Discussion: https://www.postgresql.org/message-id/d0b64a7a-dfe4-4b84-a906-c7dedfa40a3e@eisentraut.org
95 lines
1.8 KiB
Meson
95 lines
1.8 KiB
Meson
# Copyright (c) 2022-2024, PostgreSQL Global Development Group
|
|
|
|
btree_gist_sources = files(
|
|
'btree_bit.c',
|
|
'btree_bool.c',
|
|
'btree_bytea.c',
|
|
'btree_cash.c',
|
|
'btree_date.c',
|
|
'btree_enum.c',
|
|
'btree_float4.c',
|
|
'btree_float8.c',
|
|
'btree_gist.c',
|
|
'btree_inet.c',
|
|
'btree_int2.c',
|
|
'btree_int4.c',
|
|
'btree_int8.c',
|
|
'btree_interval.c',
|
|
'btree_macaddr.c',
|
|
'btree_macaddr8.c',
|
|
'btree_numeric.c',
|
|
'btree_oid.c',
|
|
'btree_text.c',
|
|
'btree_time.c',
|
|
'btree_ts.c',
|
|
'btree_utils_num.c',
|
|
'btree_utils_var.c',
|
|
'btree_uuid.c',
|
|
)
|
|
|
|
if host_system == 'windows'
|
|
btree_gist_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
|
|
'--NAME', 'btree_gist',
|
|
'--FILEDESC', 'btree_gist - B-tree equivalent GiST operator classes',])
|
|
endif
|
|
|
|
btree_gist = shared_module('btree_gist',
|
|
btree_gist_sources,
|
|
c_pch: pch_postgres_h,
|
|
kwargs: contrib_mod_args,
|
|
)
|
|
contrib_targets += btree_gist
|
|
|
|
install_data(
|
|
'btree_gist.control',
|
|
'btree_gist--1.0--1.1.sql',
|
|
'btree_gist--1.1--1.2.sql',
|
|
'btree_gist--1.2.sql',
|
|
'btree_gist--1.2--1.3.sql',
|
|
'btree_gist--1.3--1.4.sql',
|
|
'btree_gist--1.4--1.5.sql',
|
|
'btree_gist--1.5--1.6.sql',
|
|
'btree_gist--1.6--1.7.sql',
|
|
kwargs: contrib_data_args,
|
|
)
|
|
|
|
tests += {
|
|
'name': 'btree_gist',
|
|
'sd': meson.current_source_dir(),
|
|
'bd': meson.current_build_dir(),
|
|
'regress': {
|
|
'sql': [
|
|
'init',
|
|
'int2',
|
|
'int4',
|
|
'int8',
|
|
'float4',
|
|
'float8',
|
|
'cash',
|
|
'oid',
|
|
'timestamp',
|
|
'timestamptz',
|
|
'time',
|
|
'timetz',
|
|
'date',
|
|
'interval',
|
|
'macaddr',
|
|
'macaddr8',
|
|
'inet',
|
|
'cidr',
|
|
'text',
|
|
'varchar',
|
|
'char',
|
|
'bytea',
|
|
'bit',
|
|
'varbit',
|
|
'numeric',
|
|
'uuid',
|
|
'not_equal',
|
|
'enum',
|
|
'bool',
|
|
'partitions',
|
|
],
|
|
},
|
|
}
|