{"kind": "opclass", "major": "18", "item": {"slug": "class-hash-abstime_ops", "name": "hash/abstime_ops (class)", "name_zh": "", "category": "Hash classes", "summary": "Not recorded in the selected version.", "aliases": ["abstime_ops", "hash/abstime_ops"], "content_hash": "222a6bf28f49e240321bd4dec370a13c7a54a90c34c8a01f68a2e7ed5163eb2a", "versions": {"10": {"class": {"name": "abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "Hash"}, {"label": "Input type", "value": "abstime"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-abstime-abstime/?v=10", "text": "=(abstime,abstime)"}, "strategy": "1", "description": "equal", "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": "hashint4(int4)", "left_type": {"url": "/wiki/type/abstime/?v=10", "text": "abstime"}, "right_type": {"url": "/wiki/type/abstime/?v=10", "text": "abstime"}, "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-hash-abstime_ops/?v=10", "text": "abstime_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/abstime/?v=10", "text": "abstime"}}], "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": ["abstime_ops", "hash/abstime_ops"], "classes": [{"name": "abstime_ops", "slug": "class-hash-abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime", "source_oid": "", "family_slug": "family-hash-abstime_ops"}], "related": [{"url": "/wiki/indexam/hash/?v=10", "label": "Hash Index AM"}, {"url": "/wiki/opclass/family-hash-abstime_ops/?v=10", "label": "abstime_ops family"}, {"url": "/wiki/type/abstime/?v=10", "label": "abstime 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": "abstime_ops", "method": "hash", "purpose": "search", "operator": "=(abstime,abstime)", "strategy": "1", "left_type": "abstime", "right_type": "abstime", "description": "equal", "family_slug": "family-hash-abstime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-abstime-abstime", "sort_family_slug": ""}], "signature": "hash/abstime_ops", "source_oid": "", "description": ["Hash operator class for abstime; member of abstime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime"}], "operators": [{"family": "abstime_ops", "method": "hash", "purpose": "search", "operator": "=(abstime,abstime)", "strategy": "1", "left_type": "abstime", "right_type": "abstime", "sort_family": ""}], "attributes": {"name": "abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime"}, "support_functions": [{"family": "abstime_ops", "method": "hash", "number": "1", "function": "hashint4(int4)", "left_type": "abstime", "right_type": "abstime", "result_type": "int4"}]}, "comparison_hash": "6c8e4f3f4d576a609b18221bda42c8162b9d7df9ebac4ef7719a59629b8a5151", "support_functions": [{"family": "abstime_ops", "method": "hash", "number": "1", "function": "hashint4(int4)", "left_type": "abstime", "right_type": "abstime", "family_slug": "family-hash-abstime_ops", "result_type": "int4"}]}, "11": {"class": {"name": "abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime"}, "facts": [{"label": "Object kind", "value": "Operator class"}, {"label": "Index AM", "value": "Hash"}, {"label": "Input type", "value": "abstime"}, {"label": "Stored key type", "value": "Same as input type (catalog zero)"}, {"label": "Default class", "value": "yes"}], "tables": [{"key": "operators", "rows": [{"scope": "Class input pair", "purpose": "search", "operator": {"url": "/wiki/operator/op-3d-abstime-abstime/?v=11", "text": "=(abstime,abstime)"}, "strategy": "1", "description": "equal", "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": "hashint4(int4)", "left_type": {"url": "/wiki/type/abstime/?v=11", "text": "abstime"}, "right_type": {"url": "/wiki/type/abstime/?v=11", "text": "abstime"}, "result_type": "int4"}, {"number": "2", "function": "hashint4extended(int4,int8)", "left_type": {"url": "/wiki/type/abstime/?v=11", "text": "abstime"}, "right_type": {"url": "/wiki/type/abstime/?v=11", "text": "abstime"}, "result_type": "int8"}], "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-hash-abstime_ops/?v=11", "text": "abstime_ops"}, "default": "yes", "key_type": "Same as input type", "input_type": {"url": "/wiki/type/abstime/?v=11", "text": "abstime"}}], "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": ["abstime_ops", "hash/abstime_ops"], "classes": [{"name": "abstime_ops", "slug": "class-hash-abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime", "source_oid": "", "family_slug": "family-hash-abstime_ops"}], "related": [{"url": "/wiki/indexam/hash/?v=11", "label": "Hash Index AM"}, {"url": "/wiki/opclass/family-hash-abstime_ops/?v=11", "label": "abstime_ops family"}, {"url": "/wiki/type/abstime/?v=11", "label": "abstime 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": "abstime_ops", "method": "hash", "purpose": "search", "operator": "=(abstime,abstime)", "strategy": "1", "left_type": "abstime", "right_type": "abstime", "description": "equal", "family_slug": "family-hash-abstime_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3d-abstime-abstime", "sort_family_slug": ""}], "signature": "hash/abstime_ops", "source_oid": "", "description": ["Hash operator class for abstime; member of abstime_ops."], "comparison_data": {"kind": "class", "classes": [{"name": "abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime"}], "operators": [{"family": "abstime_ops", "method": "hash", "purpose": "search", "operator": "=(abstime,abstime)", "strategy": "1", "left_type": "abstime", "right_type": "abstime", "sort_family": ""}], "attributes": {"name": "abstime_ops", "family": "abstime_ops", "method": "hash", "default": "t", "key_type": "none", "input_type": "abstime"}, "support_functions": [{"family": "abstime_ops", "method": "hash", "number": "1", "function": "hashint4(int4)", "left_type": "abstime", "right_type": "abstime", "result_type": "int4"}, {"family": "abstime_ops", "method": "hash", "number": "2", "function": "hashint4extended(int4,int8)", "left_type": "abstime", "right_type": "abstime", "result_type": "int8"}]}, "comparison_hash": "b7e7477d6e9f0a378b8c7f4eb557644664f1030ab3fa1f0a9093dbf8c7873866", "support_functions": [{"family": "abstime_ops", "method": "hash", "number": "1", "function": "hashint4(int4)", "left_type": "abstime", "right_type": "abstime", "family_slug": "family-hash-abstime_ops", "result_type": "int4"}, {"family": "abstime_ops", "method": "hash", "number": "2", "function": "hashint4extended(int4,int8)", "left_type": "abstime", "right_type": "abstime", "family_slug": "family-hash-abstime_ops", "result_type": "int8"}]}}}, "snapshot": null, "comparison": {"left": "10", "right": "11", "status": "changed", "diff": "--- PostgreSQL 10\n+++ PostgreSQL 11\n@@ -39,6 +39,15 @@\n       \"number\": \"1\",\n       \"result_type\": \"int4\",\n       \"right_type\": \"abstime\"\n+    },\n+    {\n+      \"family\": \"abstime_ops\",\n+      \"function\": \"hashint4extended(int4,int8)\",\n+      \"left_type\": \"abstime\",\n+      \"method\": \"hash\",\n+      \"number\": \"2\",\n+      \"result_type\": \"int8\",\n+      \"right_type\": \"abstime\"\n     }\n   ]\n }"}}