{"kind": "opclass", "major": "18", "item": {"slug": "class-btree-timestamp_ops", "name": "btree/timestamp_ops (class)", "name_zh": "", "category": "B-tree classes", "summary": "B-tree operator class for timestamp; member of datetime_ops.", "aliases": ["timestamp_ops", "btree/timestamp_ops"], "content_hash": "6cfcf6551b1acb321046748fe18968e39150aa3a7ebf3e3b7d1c39337d86f65d", "versions": {"10": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=10", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=10", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=10", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=10", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=10", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=10", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=10", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=10", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=10", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=10", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=10", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=10", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=10", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=10", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=10", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=10", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=10", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=10", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=10", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=10", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=10", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=10", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=10", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=10", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=10", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=10", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=10", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=10", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=10", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=10", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=10", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=10", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=10", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=10", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=10", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=10", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=10", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=10", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=10", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=10", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=10", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=10", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=10", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=10", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=10", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=10", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}, "result_type": "int4"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=10", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=10", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=10", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=10", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=10", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=10", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=10", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=10", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=10", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "historical", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "source_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "manual_fingerprint": "113b870e3ff4b52320f34750da5e740800f3f6e4ed6f2fc00a0891944d1be7c2", "catalog_fingerprint": "dd2d5fd5e17d29184db5f6625f9f0f9b9d40ae7aa34b6ccf28ddbc8684bd4992"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, {"url": "/docs/10/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 10 English manual: indexes-opclass.html", "sha256": "5e070d906c5b9c756625cc59969d7259b304fb3ff73ec4363e2dcbf923ad4c61"}, {"url": "/docs/10/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 10 English manual: catalog-pg-opclass.html", "sha256": "3be20e2a81d94f5181b1ed6dbf0b36e358fef354f628beac0e6a46b05a5db3b1"}, {"url": "/docs/10/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 10 English manual: catalog-pg-amop.html", "sha256": "d5ce5a3be599e5506edbe3ff615674beb013720953f4979a44b6ecfd4cc24090"}, {"url": "/docs/10/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 10 English manual: catalog-pg-amproc.html", "sha256": "5e5f2932bae4725864988e810841b0edf82d629b3ea2690ffe8b44935eb89131"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "24fe5a640f35218b880008022f717e5e36a103b97002f92f7168304d5517913b", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}]}, "11": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=11", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=11", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=11", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=11", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=11", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=11", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=11", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=11", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=11", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=11", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=11", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=11", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=11", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=11", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=11", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=11", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=11", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=11", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=11", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=11", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=11", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=11", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=11", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=11", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=11", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=11", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=11", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=11", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=11", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=11", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=11", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=11", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=11", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=11", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=11", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=11", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=11", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=11", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=11", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=11", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=11", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=11", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=11", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=11", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=11", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=11", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=11", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=11", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=11", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=11", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=11", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=11", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=11", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=11", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=11", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=11", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "historical", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "source_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "manual_fingerprint": "99c9e45d34555f000789cb4e019492e838041c1f2f31d840f3051ff9d7ed9118", "catalog_fingerprint": "4f08eb8c7ac7d09abfbb29a172148a44b8fb72026616bb55a5f8f84db7a38785"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, {"url": "/docs/11/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 11 English manual: indexes-opclass.html", "sha256": "234c67ab5a33096697e1851c197c79ba0e872686c7909c2696716a102253c7bd"}, {"url": "/docs/11/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 11 English manual: catalog-pg-opclass.html", "sha256": "e91b7d053b9aaf4afd969cd28ae512814047da83d507533d29b1694d1b334296"}, {"url": "/docs/11/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 11 English manual: catalog-pg-amop.html", "sha256": "c17d050a6f2d093de2c343242bcc4d446b936de1d2902727d3fa3b0697b44fd3"}, {"url": "/docs/11/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 11 English manual: catalog-pg-amproc.html", "sha256": "819e66cb86af033d3328a3602c65c861e9f2d2c519d1f42f37fdd7766e1fc31f"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}]}, "comparison_hash": "5c27a14d171245ce35bf7f9f85813d49c950c5b9bf67b55d978c4432301de9e2", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "12": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=12", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=12", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=12", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=12", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=12", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=12", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=12", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=12", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=12", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=12", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=12", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=12", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=12", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=12", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=12", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=12", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=12", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=12", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=12", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=12", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=12", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=12", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=12", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=12", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=12", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=12", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=12", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=12", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=12", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=12", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=12", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=12", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=12", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=12", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=12", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=12", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=12", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=12", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=12", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=12", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=12", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=12", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=12", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=12", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=12", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=12", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=12", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=12", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=12", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=12", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=12", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=12", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=12", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=12", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=12", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=12", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "historical", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "source_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "manual_fingerprint": "535df36baec2140f211303631c0a3f64e02d2673b9d34cb050d247997c94bd1e", "catalog_fingerprint": "1f423fd3c5fb61c039f8814116ce19dedbb2804bc864599818e88cbc4f5f284a"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, {"url": "/docs/12/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 12 English manual: indexes-opclass.html", "sha256": "bdd742eaf65ab7addb35aa56509afe244d63775521460a046bf76f50bc0389db"}, {"url": "/docs/12/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 12 English manual: catalog-pg-opclass.html", "sha256": "c18988ac300a55eb6fbd32e74d3be726f55e2e26b526ed50c4c3f4f0470d8607"}, {"url": "/docs/12/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 12 English manual: catalog-pg-amop.html", "sha256": "84b91a9d763b1fb2968cc8be226a0369d31a6acb2468eb56cfd0b8d2030d1b45"}, {"url": "/docs/12/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 12 English manual: catalog-pg-amproc.html", "sha256": "8fecd047164ac5772bb48770067c55ab89a810d2ee1686ed316738bc0c18e330"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}]}, "comparison_hash": "5c27a14d171245ce35bf7f9f85813d49c950c5b9bf67b55d978c4432301de9e2", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "13": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=13", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=13", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=13", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=13", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=13", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=13", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=13", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=13", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=13", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=13", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=13", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=13", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=13", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=13", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=13", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=13", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=13", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=13", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=13", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=13", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=13", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=13", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=13", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=13", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=13", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=13", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=13", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=13", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=13", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=13", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=13", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=13", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=13", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=13", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=13", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=13", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=13", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=13", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=13", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=13", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=13", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=13", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=13", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=13", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=13", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=13", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=13", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=13", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=13", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=13", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=13", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=13", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=13", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=13", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=13", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=13", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "historical", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "source_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "manual_fingerprint": "2bbea71f4723fc9e4e58cfdb28368763f999de2800d45ade748f7c7546dfb9d3", "catalog_fingerprint": "df58d29b226fbb90326087233d7970032abdec1352373270449eeee324f84a35"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, {"url": "/docs/13/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 13 English manual: indexes-opclass.html", "sha256": "37723d8b80464e32b69ead59eff6160555679eb963ab37c5c3a8a6cbae1b152b"}, {"url": "/docs/13/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 13 English manual: catalog-pg-opclass.html", "sha256": "1e76307cdb5258558db46b22444fc26a671a7dbb4a328b62e8f93deecb9a4caa"}, {"url": "/docs/13/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 13 English manual: catalog-pg-amop.html", "sha256": "7a8e67f8dc59c305612c6d029fc8760c092f27203d5338c6db6c6d9b8aabc561"}, {"url": "/docs/13/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 13 English manual: catalog-pg-amproc.html", "sha256": "7304d151ac7c668be22d688c152e43989557f61455a75dc74f4660363e7ab9ef"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "ffd5b3d8c0a1218c579d7eabee1ebe67fda6b38e45dc56b478786873fbafde5f", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "14": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=14", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=14", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=14", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=14", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=14", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=14", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=14", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=14", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=14", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=14", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=14", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=14", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=14", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=14", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=14", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=14", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=14", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=14", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=14", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=14", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=14", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=14", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=14", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=14", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=14", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=14", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=14", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=14", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=14", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=14", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=14", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=14", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=14", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=14", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=14", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=14", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=14", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=14", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=14", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=14", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=14", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=14", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=14", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=14", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=14", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=14", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=14", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=14", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=14", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=14", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=14", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=14", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=14", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=14", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=14", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=14", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "source_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "manual_fingerprint": "1d055c6dc55d4defe2b6e9d0f842a47005487b21025b67e51d06721d3c122f71", "catalog_fingerprint": "9e0116f26e5ce870719efb77ef7b73e30c7928f8af27cbe87fdea32efe3811ef"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, {"url": "/docs/14/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 14 English manual: indexes-opclass.html", "sha256": "b7e355fb7c1e6fe473dc70d4c7e73cd3aa9a11dddd2e32ece5e8effbdb910c0b"}, {"url": "/docs/14/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 14 English manual: catalog-pg-opclass.html", "sha256": "5d3fff50f233fb5f05727c29139ff9b4505048755dbb88acbcf550528005f2dd"}, {"url": "/docs/14/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 14 English manual: catalog-pg-amop.html", "sha256": "402b87d7fb1a313b096ba5349a676ae38d507e2eb98739d6ed7f0681e0b9a9a4"}, {"url": "/docs/14/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 14 English manual: catalog-pg-amproc.html", "sha256": "5b918a7eba7592dc13a32a8fcbb7ca0a198d8f4d2b8a85b3c7befbc7705d44a1"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "ffd5b3d8c0a1218c579d7eabee1ebe67fda6b38e45dc56b478786873fbafde5f", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "15": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=15", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=15", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=15", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=15", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=15", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=15", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=15", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=15", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=15", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=15", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=15", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=15", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=15", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=15", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=15", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=15", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=15", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=15", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=15", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=15", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=15", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=15", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=15", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=15", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=15", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=15", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=15", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=15", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=15", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=15", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=15", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=15", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=15", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=15", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=15", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=15", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=15", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=15", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=15", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=15", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=15", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=15", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=15", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=15", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=15", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=15", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=15", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=15", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=15", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=15", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=15", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=15", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=15", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=15", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=15", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=15", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "source_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "manual_fingerprint": "f39c61e9facb5b9404c7d6d1cf494d83af0cc46146554a7fc40724eb882d24a9", "catalog_fingerprint": "1c332a5ccec7bfdd8ca19b55a0279b5bd6cb1dd5dcc6c5587a98a491a9b566a5"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, {"url": "/docs/15/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 15 English manual: indexes-opclass.html", "sha256": "57685c0a60cb570754be680551a6947556a03b6ff16a4a511483bdcac143c6da"}, {"url": "/docs/15/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 15 English manual: catalog-pg-opclass.html", "sha256": "755f7dcb5d8201f84a8285b418477e209122f0dd4a1c0e5b1b9b293a52a3f5cb"}, {"url": "/docs/15/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 15 English manual: catalog-pg-amop.html", "sha256": "53ced8770f19710869151ab02a9a6f0d97380981ca4bfe83752092bfb74a9e0c"}, {"url": "/docs/15/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 15 English manual: catalog-pg-amproc.html", "sha256": "cdcce97c140ef4b73e0abc870c6a7f0d8ebda9f31d4c02b3f5444f50828d7f37"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "ffd5b3d8c0a1218c579d7eabee1ebe67fda6b38e45dc56b478786873fbafde5f", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "16": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=16", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=16", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=16", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=16", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=16", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=16", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=16", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=16", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=16", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=16", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=16", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=16", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=16", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=16", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=16", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=16", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=16", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=16", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=16", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=16", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=16", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=16", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=16", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=16", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=16", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=16", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=16", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=16", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=16", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=16", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=16", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=16", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=16", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=16", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=16", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=16", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=16", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=16", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=16", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=16", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=16", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=16", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=16", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=16", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=16", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=16", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=16", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=16", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=16", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=16", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=16", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=16", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=16", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=16", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=16", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=16", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "source_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "manual_fingerprint": "846fb006e9d590387203c1c65f671240bc5c30604c4e3084cf572817aacc19d0", "catalog_fingerprint": "70797d889dd8aeed77ae81092f99ab380e1109b54b0b7ca6fbf400e0a2111a70"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, {"url": "/docs/16/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 16 English manual: indexes-opclass.html", "sha256": "a524c924c56d14615e7ea68aaaddd7c62abf7d153a0e291c191e0f4e962ffbae"}, {"url": "/docs/16/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 16 English manual: catalog-pg-opclass.html", "sha256": "f075996844e2b6da739db4c2ed35fc2b0f288cd51d3f1f04baac0daa0e608c03"}, {"url": "/docs/16/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 16 English manual: catalog-pg-amop.html", "sha256": "f580ac4a34d5f9d567834684e0c41b7df32a952e20a2fc11a9ce0964c2df7e9a"}, {"url": "/docs/16/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 16 English manual: catalog-pg-amproc.html", "sha256": "ce78e17af3e627c9f4a1b517d77b8eb2e071ba2e963f8b196bf9535ca98c388a"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "ffd5b3d8c0a1218c579d7eabee1ebe67fda6b38e45dc56b478786873fbafde5f", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "17": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=17", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=17", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=17", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=17", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=17", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=17", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=17", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=17", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=17", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=17", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=17", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=17", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=17", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=17", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=17", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=17", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=17", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=17", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=17", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=17", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=17", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=17", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=17", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=17", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=17", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=17", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=17", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=17", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=17", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=17", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=17", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=17", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=17", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=17", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=17", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=17", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=17", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=17", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=17", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=17", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=17", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=17", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=17", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=17", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=17", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "bool"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "bool"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "result_type": "bool"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=17", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=17", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=17", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=17", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=17", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=17", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=17", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=17", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=17", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=17", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=17", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "source_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "manual_fingerprint": "b55870f8e80e1114a92ac7bfc97f4a6fa0dee8e75935895252bb6e5b866cf187", "catalog_fingerprint": "e888e3474202df1c60a8e7b6bf9f2d83b3866a52d119521659b7a82787d3829d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, {"url": "/docs/17/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 17 English manual: indexes-opclass.html", "sha256": "dcdeb2d461b79e5c679d29f2a6d3ad038c788ba5a6d094e63d17353352db3ef2"}, {"url": "/docs/17/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 17 English manual: catalog-pg-opclass.html", "sha256": "2daafcf4d1d6ae524abfc92ef8799237b82d390fc72622f7d59c142ef4bdc0bc"}, {"url": "/docs/17/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 17 English manual: catalog-pg-amop.html", "sha256": "19b2fb110b348860f7fbcb6e0e0544e341f5645113c23f50920a54434d432359"}, {"url": "/docs/17/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 17 English manual: catalog-pg-amproc.html", "sha256": "c1e9a6c78cb61e434eba6e22547c50a677d0c414049fd515263bec770b16ff55"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}]}, "comparison_hash": "ffd5b3d8c0a1218c579d7eabee1ebe67fda6b38e45dc56b478786873fbafde5f", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "18": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=18", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=18", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=18", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=18", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "manual_fingerprint": "fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc", "catalog_fingerprint": "deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "/docs/18/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 18 English manual: indexes-opclass.html", "sha256": "07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962"}, {"url": "/docs/18/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 18 English manual: catalog-pg-opclass.html", "sha256": "6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40"}, {"url": "/docs/18/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 18 English manual: catalog-pg-amop.html", "sha256": "e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1"}, {"url": "/docs/18/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 18 English manual: catalog-pg-amproc.html", "sha256": "0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "1be8160dad8741f27e1753d8bf8a13a415a940acc8e8d1c9e494e82b38868a15", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "19": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=19", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=19", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=19", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=19", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=19", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=19", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=19", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=19", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=19", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=19", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=19", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=19", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=19", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=19", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=19", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=19", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=19", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=19", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=19", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=19", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=19", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=19", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=19", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=19", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=19", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=19", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=19", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=19", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=19", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=19", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=19", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=19", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=19", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=19", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=19", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=19", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=19", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=19", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=19", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=19", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=19", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=19", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=19", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=19", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=19", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=19", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=19", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=19", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=19", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=19", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=19", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=19", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=19", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=19", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=19", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=19", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "source_sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "manual_fingerprint": "d1c30d7808d3ae2edc8773a0dd66f7beb5861e8939001e171c1908f7a09bb497", "catalog_fingerprint": "9af4323d0c8ed03d0e795331930bd14ce9bf6193c6b766c463b9f6ec0829409a"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, {"url": "/docs/19/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 19 English manual: indexes-opclass.html", "sha256": "eba382a4227a2865a52fb015c7aec0dbde33d3c24373e3f9ba11e1daeae8b89c"}, {"url": "/docs/19/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 19 English manual: catalog-pg-opclass.html", "sha256": "e204d4682013f05c202b6a0df0b7b178ac74d17fceb8936cc97dc3d98e7d530b"}, {"url": "/docs/19/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 19 English manual: catalog-pg-amop.html", "sha256": "711850fdde973fbaf16da94143a2de3b972bed7a3b8663bf80e4aeabaf2f43fe"}, {"url": "/docs/19/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 19 English manual: catalog-pg-amproc.html", "sha256": "156082a05f95005ad8fabba56d5880f15f3b194d5f378ffee29a77066c77de12"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "1be8160dad8741f27e1753d8bf8a13a415a940acc8e8d1c9e494e82b38868a15", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "20": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=20", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=20", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=20", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=20", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=20", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=20", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=20", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=20", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=20", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=20", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=20", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=20", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=20", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=20", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=20", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=20", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=20", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=20", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=20", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=20", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=20", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=20", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=20", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=20", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=20", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=20", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=20", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=20", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=20", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=20", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=20", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=20", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=20", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=20", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=20", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=20", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=20", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=20", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=20", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=20", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=20", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=20", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=20", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=20", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=20", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=20", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=20", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=20", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=20", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=20", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=20", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=20", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=20", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=20", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=20", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=20", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "source_sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "manual_fingerprint": "48fb9e20e9e1454fe93d367e75b949833c82c1c52c2b69314dfffe1c464f3f39", "catalog_fingerprint": "cc1a474e972c8c342cf17f37e2884c56cc4b114cb59407b0180e99cdcfffa5c5", "source_snapshot_utc": "26-Sep-2026 20:22"}, "sources": [{"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, {"url": "/docs/devel/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 20 English manual: indexes-opclass.html", "sha256": "11f438e25406337ef7c41690a7d47744980230c83ade5106803b49a7a09afb80"}, {"url": "/docs/devel/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 20 English manual: catalog-pg-opclass.html", "sha256": "ff36405486ec573922caff5bcf9cf5f8f8375c9371968fbd3ebc8c435a780ce8"}, {"url": "/docs/devel/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 20 English manual: catalog-pg-amop.html", "sha256": "00fee8a631088b687e2d880e4091791ca30f9c69fca888c51ece463d1b9e1e61"}, {"url": "/docs/devel/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 20 English manual: catalog-pg-amproc.html", "sha256": "5390831efcf71a10077be802ab320fbf5d6fc780fdadf679cd162f3a46a3c6d3"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "1be8160dad8741f27e1753d8bf8a13a415a940acc8e8d1c9e494e82b38868a15", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}}}, "snapshot": {"class": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "B-tree"}, {"label": "Input type", "value": "timestamp"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-date/?v=18", "text": "<(date,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-date/?v=18", "text": "<=(date,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-date/?v=18", "text": "=(date,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-date/?v=18", "text": ">=(date,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-date/?v=18", "text": ">(date,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamp/?v=18", "text": "<(date,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamp/?v=18", "text": "<=(date,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamp/?v=18", "text": "=(date,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamp/?v=18", "text": ">=(date,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamp/?v=18", "text": ">(date,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-date-timestamptz/?v=18", "text": "<(date,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-date-timestamptz/?v=18", "text": "<=(date,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-date-timestamptz/?v=18", "text": "=(date,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-date-timestamptz/?v=18", "text": ">=(date,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-date-timestamptz/?v=18", "text": ">(date,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamp/?v=18", "text": "<(timestamp,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamp/?v=18", "text": "<=(timestamp,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamp/?v=18", "text": "=(timestamp,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamp/?v=18", "text": ">=(timestamp,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamp/?v=18", "text": ">(timestamp,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-date/?v=18", "text": "<(timestamp,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-date/?v=18", "text": "<=(timestamp,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-date/?v=18", "text": "=(timestamp,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-date/?v=18", "text": ">=(timestamp,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-date/?v=18", "text": ">(timestamp,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamp-timestamptz/?v=18", "text": "<(timestamp,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamp-timestamptz/?v=18", "text": "<=(timestamp,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamp-timestamptz/?v=18", "text": "=(timestamp,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamp-timestamptz/?v=18", "text": ">=(timestamp,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamp-timestamptz/?v=18", "text": ">(timestamp,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamptz/?v=18", "text": "<(timestamptz,timestamptz)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamptz/?v=18", "text": "<=(timestamptz,timestamptz)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamptz/?v=18", "text": "=(timestamptz,timestamptz)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamptz/?v=18", "text": ">=(timestamptz,timestamptz)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamptz/?v=18", "text": ">(timestamptz,timestamptz)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-date/?v=18", "text": "<(timestamptz,date)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-date/?v=18", "text": "<=(timestamptz,date)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-date/?v=18", "text": "=(timestamptz,date)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-date/?v=18", "text": ">=(timestamptz,date)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-date/?v=18", "text": ">(timestamptz,date)"}, "strategy": "5", "description": "greater than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c-timestamptz-timestamp/?v=18", "text": "<(timestamptz,timestamp)"}, "strategy": "1", "description": "less than", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3c3d-timestamptz-timestamp/?v=18", "text": "<=(timestamptz,timestamp)"}, "strategy": "2", "description": "less than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-timestamptz-timestamp/?v=18", "text": "=(timestamptz,timestamp)"}, "strategy": "3", "description": "equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e3d-timestamptz-timestamp/?v=18", "text": ">=(timestamptz,timestamp)"}, "strategy": "4", "description": "greater than or equal", "sort_family": ""}, {"scope": "Family member", "purpose": "search", "operator": {"url": "/wiki/operator/op-3e-timestamptz-timestamp/?v=18", "text": ">(timestamptz,timestamp)"}, "strategy": "5", "description": "greater than", "sort_family": ""}], "title": "Family operator strategies", "columns": [{"key": "operator", "label": "Operator overload"}, {"key": "strategy", "label": "Strategy"}, {"key": "purpose", "label": "Purpose"}, {"key": "sort_family", "label": "Ordering family"}, {"key": "scope", "label": "Membership scope"}, {"key": "description", "label": "Source description"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "date_cmp(date,date)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "2", "function": "date_sortsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "bool"}, {"number": "6", "function": "date_skipsupport(internal)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "void"}, {"number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "void"}, {"number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "int4"}, {"number": "2", "function": "timestamp_sortsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "4", "function": "btequalimage(oid)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "bool"}, {"number": "6", "function": "timestamp_skipsupport(internal)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "result_type": "void"}, {"number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "result_type": "int4"}, {"number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "result_type": "int4"}, {"number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": {"url": "/wiki/type/date/?v=18", "text": "date"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}, {"number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}, "right_type": {"url": "/wiki/type/interval/?v=18", "text": "interval"}, "result_type": "bool"}], "title": "Family support functions", "columns": [{"key": "number", "label": "Support number"}, {"key": "left_type", "label": "Left type"}, {"key": "right_type", "label": "Right type"}, {"key": "function", "label": "Function signature"}, {"key": "result_type", "label": "Result type"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-btree-date_ops/?v=18", "text": "date_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/date/?v=18", "text": "date"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamptz_ops/?v=18", "text": "timestamptz_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamptz/?v=18", "text": "timestamptz"}}, {"class": {"url": "/wiki/opclass/class-btree-timestamp_ops/?v=18", "text": "timestamp_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/timestamp/?v=18", "text": "timestamp"}}], "title": "Classes in this family", "columns": [{"key": "class", "label": "Class"}, {"key": "input_type", "label": "Input type"}, {"key": "key_type", "label": "Key type"}, {"key": "default", "label": "Default"}]}], "aliases": ["timestamp_ops", "btree/timestamp_ops"], "classes": [{"name": "date_ops", "slug": "class-btree-date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date", "source_oid": "3122", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamptz_ops", "slug": "class-btree-timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz", "source_oid": "3127", "family_slug": "family-btree-datetime_ops"}, {"name": "timestamp_ops", "slug": "class-btree-timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp", "source_oid": "3128", "family_slug": "family-btree-datetime_ops"}], "related": [{"url": "/wiki/indexam/btree/?v=18", "label": "B-tree Index AM"}, {"url": "/wiki/opclass/family-btree-datetime_ops/?v=18", "label": "datetime_ops family"}, {"url": "/wiki/type/timestamp/?v=18", "label": "timestamp data type"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "manual_fingerprint": "fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc", "catalog_fingerprint": "deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "/docs/18/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 18 English manual: indexes-opclass.html", "sha256": "07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962"}, {"url": "/docs/18/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 18 English manual: catalog-pg-opclass.html", "sha256": "6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40"}, {"url": "/docs/18/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 18 English manual: catalog-pg-amop.html", "sha256": "e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1"}, {"url": "/docs/18/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 18 English manual: catalog-pg-amproc.html", "sha256": "0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6"}], "sections": [{"title": "Operator classes and families", "paragraphs": ["An index definition can specify an operator class for each column of an index.", "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "There are also some built-in operator classes besides the default ones:"]}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-date-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamp-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamptz", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-date", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "description": "less than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "description": "equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than or equal", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3d-timestamptz-timestamp", "sort_family_slug": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "description": "greater than", "family_slug": "family-btree-datetime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e-timestamptz-timestamp", "sort_family_slug": ""}], "signature": "btree/timestamp_ops", "source_oid": "3128", "description": ["B-tree operator class for timestamp; member of datetime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "date_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "date"}, {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, {"name": "timestamptz_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamptz"}], "operators": [{"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,date)", "strategy": "1", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,date)", "strategy": "2", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,date)", "strategy": "3", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,date)", "strategy": "4", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,date)", "strategy": "5", "left_type": "date", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamp)", "strategy": "1", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamp)", "strategy": "2", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamp)", "strategy": "3", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamp)", "strategy": "4", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamp)", "strategy": "5", "left_type": "date", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(date,timestamptz)", "strategy": "1", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(date,timestamptz)", "strategy": "2", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(date,timestamptz)", "strategy": "3", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(date,timestamptz)", "strategy": "4", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(date,timestamptz)", "strategy": "5", "left_type": "date", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,date)", "strategy": "1", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,date)", "strategy": "2", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,date)", "strategy": "3", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,date)", "strategy": "4", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,date)", "strategy": "5", "left_type": "timestamp", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamp)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamp)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamp)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamp)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamp)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamp,timestamptz)", "strategy": "1", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamp,timestamptz)", "strategy": "2", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamp,timestamptz)", "strategy": "3", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamp,timestamptz)", "strategy": "4", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamp,timestamptz)", "strategy": "5", "left_type": "timestamp", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,date)", "strategy": "1", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,date)", "strategy": "2", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,date)", "strategy": "3", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,date)", "strategy": "4", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,date)", "strategy": "5", "left_type": "timestamptz", "right_type": "date", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamp)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamp)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamp)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamp)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamp)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamp", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<(timestamptz,timestamptz)", "strategy": "1", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "<=(timestamptz,timestamptz)", "strategy": "2", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": "=(timestamptz,timestamptz)", "strategy": "3", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">=(timestamptz,timestamptz)", "strategy": "4", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}, {"family": "datetime_ops", "method": "btree", "purpose": "search", "operator": ">(timestamptz,timestamptz)", "strategy": "5", "left_type": "timestamptz", "right_type": "timestamptz", "sort_family": ""}], "attributes": {"name": "timestamp_ops", "family": "datetime_ops", "method": "btree", "default": "t", "key_type": "none", "input_type": "timestamp"}, "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "result_type": "void"}]}, "comparison_hash": "1be8160dad8741f27e1753d8bf8a13a415a940acc8e8d1c9e494e82b38868a15", "support_functions": [{"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp(date,date)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "date_sortsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "date_skipsupport(internal)", "left_type": "date", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamp(date,timestamp)", "left_type": "date", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "date_cmp_timestamptz(date,timestamptz)", "left_type": "date", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp(timestamp,timestamp)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamp", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_date(timestamp,date)", "left_type": "timestamp", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamp_cmp_timestamptz(timestamp,timestamptz)", "left_type": "timestamp", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp(timestamptz,timestamptz)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "2", "function": "timestamp_sortsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "4", "function": "btequalimage(oid)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "6", "function": "timestamp_skipsupport(internal)", "left_type": "timestamptz", "right_type": "timestamptz", "family_slug": "family-btree-datetime_ops", "result_type": "void"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_date(timestamptz,date)", "left_type": "timestamptz", "right_type": "date", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "1", "function": "timestamptz_cmp_timestamp(timestamptz,timestamp)", "left_type": "timestamptz", "right_type": "timestamp", "family_slug": "family-btree-datetime_ops", "result_type": "int4"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(date,date,interval,bool,bool)", "left_type": "date", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamp,timestamp,interval,bool,bool)", "left_type": "timestamp", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}, {"family": "datetime_ops", "method": "btree", "number": "3", "function": "in_range(timestamptz,timestamptz,interval,bool,bool)", "left_type": "timestamptz", "right_type": "interval", "family_slug": "family-btree-datetime_ops", "result_type": "bool"}]}, "comparison": {"left": "10", "right": "11", "status": "changed", "diff": "--- PostgreSQL 10\n+++ PostgreSQL 11\n@@ -594,6 +594,33 @@\n       \"number\": \"2\",\n       \"result_type\": \"void\",\n       \"right_type\": \"timestamptz\"\n+    },\n+    {\n+      \"family\": \"datetime_ops\",\n+      \"function\": \"in_range(date,date,interval,bool,bool)\",\n+      \"left_type\": \"date\",\n+      \"method\": \"btree\",\n+      \"number\": \"3\",\n+      \"result_type\": \"bool\",\n+      \"right_type\": \"interval\"\n+    },\n+    {\n+      \"family\": \"datetime_ops\",\n+      \"function\": \"in_range(timestamp,timestamp,interval,bool,bool)\",\n+      \"left_type\": \"timestamp\",\n+      \"method\": \"btree\",\n+      \"number\": \"3\",\n+      \"result_type\": \"bool\",\n+      \"right_type\": \"interval\"\n+    },\n+    {\n+      \"family\": \"datetime_ops\",\n+      \"function\": \"in_range(timestamptz,timestamptz,interval,bool,bool)\",\n+      \"left_type\": \"timestamptz\",\n+      \"method\": \"btree\",\n+      \"number\": \"3\",\n+      \"result_type\": \"bool\",\n+      \"right_type\": \"interval\"\n     }\n   ]\n }"}}