{"Entry":{"collection":"opclass","key":"class-brin-bpchar_bloom_ops","name":"brin/bpchar_bloom_ops (class)","aliases":["bpchar_bloom_ops","brin/bpchar_bloom_ops"],"metadata":{"aliases":["bpchar_bloom_ops","brin/bpchar_bloom_ops"],"category":"BRIN classes","content_hash":"11fbd604b90c750ff582cd25f4273f5f4dad92bae40e87a8b6b83e424a265b8c","imported_at":"2026-09-30T00:40:37.299669+08:00","name":"brin/bpchar_bloom_ops (class)","name_zh":"","slug":"class-brin-bpchar_bloom_ops","summary":"BRIN operator class for bpchar; member of bpchar_bloom_ops."}},"Definition":{"Collection":"opclass","Key":"class-brin-bpchar_bloom_ops","SourceDatabase":"center","Version":"18","SourceTable":"operator_class","SourceKey":"class-brin-bpchar_bloom_ops","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["bpchar_bloom_ops","brin/bpchar_bloom_ops"],"class":{"default":"f","family":"bpchar_bloom_ops","input_type":"bpchar","key_type":"bpchar","method":"brin","name":"bpchar_bloom_ops"},"classes":[{"default":"f","family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","input_type":"bpchar","key_type":"bpchar","method":"brin","name":"bpchar_bloom_ops","slug":"class-brin-bpchar_bloom_ops","source_oid":""}],"comparison_data":{"attributes":{"default":"f","family":"bpchar_bloom_ops","input_type":"bpchar","key_type":"bpchar","method":"brin","name":"bpchar_bloom_ops"},"classes":[{"default":"f","family":"bpchar_bloom_ops","input_type":"bpchar","key_type":"bpchar","method":"brin","name":"bpchar_bloom_ops"}],"kind":"class","operators":[{"family":"bpchar_bloom_ops","left_type":"bpchar","method":"brin","operator":"=(bpchar,bpchar)","purpose":"search","right_type":"bpchar","sort_family":"","strategy":"1"}],"support_functions":[{"family":"bpchar_bloom_ops","function":"brin_bloom_opcinfo(internal)","left_type":"bpchar","method":"brin","number":"1","result_type":"internal","right_type":"bpchar"},{"family":"bpchar_bloom_ops","function":"hashbpchar(bpchar)","left_type":"bpchar","method":"brin","number":"11","result_type":"int4","right_type":"bpchar"},{"family":"bpchar_bloom_ops","function":"brin_bloom_add_value(internal,internal,internal,internal)","left_type":"bpchar","method":"brin","number":"2","result_type":"bool","right_type":"bpchar"},{"family":"bpchar_bloom_ops","function":"brin_bloom_consistent(internal,internal,internal,int4)","left_type":"bpchar","method":"brin","number":"3","result_type":"bool","right_type":"bpchar"},{"family":"bpchar_bloom_ops","function":"brin_bloom_union(internal,internal,internal)","left_type":"bpchar","method":"brin","number":"4","result_type":"bool","right_type":"bpchar"},{"family":"bpchar_bloom_ops","function":"brin_bloom_options(internal)","left_type":"bpchar","method":"brin","number":"5","result_type":"void","right_type":"bpchar"}]},"comparison_hash":"75d0d2200a6596e5f976a2a02fdae7c77daa2af398a7e0285ef356a3da269755","description":["BRIN operator class for bpchar; member of bpchar_bloom_ops."],"facts":[{"label":"Object kind","value":"Operator class"},{"label":"Index AM","value":"BRIN"},{"label":"Input type","value":"bpchar"},{"label":"Stored key type","value":"bpchar"},{"label":"Default class","value":"no"}],"operators":[{"description":"equal","family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","left_type":"bpchar","method":"brin","operator":"=(bpchar,bpchar)","operator_slug":"op-3d-bpchar-bpchar","purpose":"search","result_type":"bool","right_type":"bpchar","sort_family":"","sort_family_slug":"","strategy":"1"}],"related":[{"label":"BRIN Index AM","url":"/wiki/indexam/brin/?v=18"},{"label":"bpchar_bloom_ops family","url":"/wiki/opclass/family-brin-bpchar_bloom_ops/?v=18"},{"label":"bpchar data type","url":"/wiki/type/bpchar/?v=18"},{"label":"bpchar data type","url":"/wiki/type/bpchar/?v=18"}],"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"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:"],"title":"Operator classes and families"}],"signature":"brin/bpchar_bloom_ops","source_oid":"","sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: indexes-opclass.html","path":"indexes-opclass.html","sha256":"07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962","url":"/docs/18/indexes-opclass.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-opclass.html","path":"catalog-pg-opclass.html","sha256":"6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40","url":"/docs/18/catalog-pg-opclass.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amproc.html","path":"catalog-pg-amproc.html","sha256":"0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6","url":"/docs/18/catalog-pg-amproc.html"}],"support_functions":[{"family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","function":"brin_bloom_opcinfo(internal)","left_type":"bpchar","method":"brin","number":"1","result_type":"internal","right_type":"bpchar"},{"family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","function":"brin_bloom_add_value(internal,internal,internal,internal)","left_type":"bpchar","method":"brin","number":"2","result_type":"bool","right_type":"bpchar"},{"family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","function":"brin_bloom_consistent(internal,internal,internal,int4)","left_type":"bpchar","method":"brin","number":"3","result_type":"bool","right_type":"bpchar"},{"family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","function":"brin_bloom_union(internal,internal,internal)","left_type":"bpchar","method":"brin","number":"4","result_type":"bool","right_type":"bpchar"},{"family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","function":"brin_bloom_options(internal)","left_type":"bpchar","method":"brin","number":"5","result_type":"void","right_type":"bpchar"},{"family":"bpchar_bloom_ops","family_slug":"family-brin-bpchar_bloom_ops","function":"hashbpchar(bpchar)","left_type":"bpchar","method":"brin","number":"11","result_type":"int4","right_type":"bpchar"}],"tables":[{"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":"operators","rows":[{"description":"equal","operator":{"text":"=(bpchar,bpchar)","url":"/wiki/operator/op-3d-bpchar-bpchar/?v=18"},"purpose":"search","scope":"Class input pair","sort_family":"","strategy":"1"}],"title":"Family operator strategies"},{"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":"support-functions","rows":[{"function":"brin_bloom_opcinfo(internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"1","result_type":"internal","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_add_value(internal,internal,internal,internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"2","result_type":"bool","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_consistent(internal,internal,internal,int4)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"3","result_type":"bool","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_union(internal,internal,internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"4","result_type":"bool","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_options(internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"5","result_type":"void","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"hashbpchar(bpchar)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"11","result_type":"int4","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}}],"title":"Family support functions"},{"columns":[{"key":"class","label":"Class"},{"key":"input_type","label":"Input type"},{"key":"key_type","label":"Key type"},{"key":"default","label":"Default"}],"key":"classes","rows":[{"class":{"text":"bpchar_bloom_ops","url":"/wiki/opclass/class-brin-bpchar_bloom_ops/?v=18"},"default":"no","input_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"key_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}}],"title":"Classes in this family"}]},"ManualEvidence":{"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: indexes-opclass.html","path":"indexes-opclass.html","sha256":"07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962","url":"/docs/18/indexes-opclass.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-opclass.html","path":"catalog-pg-opclass.html","sha256":"6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40","url":"/docs/18/catalog-pg-opclass.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amproc.html","path":"catalog-pg-amproc.html","sha256":"0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6","url":"/docs/18/catalog-pg-amproc.html"}]},"MeasuredEvidence":{}},"Text":{"Collection":"opclass","Key":"class-brin-bpchar_bloom_ops","SourceDatabase":"center","Version":"18","Locale":"en","Title":"brin/bpchar_bloom_ops (class)","Summary":"BRIN operator class for bpchar; member of bpchar_bloom_ops.","BodyHTML":"\u003cp\u003eBRIN operator class for bpchar; member of bpchar_bloom_ops.\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"fb0697ef7cf970e85b7eb8a86192065e9a4498f7c9426f121710f0eb33ada39f","Payload":{"description":["BRIN operator class for bpchar; member of bpchar_bloom_ops."],"related":[{"label":"BRIN Index AM","url":"/wiki/indexam/brin/?v=18"},{"label":"bpchar_bloom_ops family","url":"/wiki/opclass/family-brin-bpchar_bloom_ops/?v=18"},{"label":"bpchar data type","url":"/wiki/type/bpchar/?v=18"},{"label":"bpchar data type","url":"/wiki/type/bpchar/?v=18"}],"sections":[{"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:"],"title":"Operator classes and families"}],"tables":[{"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":"operators","rows":[{"description":"equal","operator":{"text":"=(bpchar,bpchar)","url":"/wiki/operator/op-3d-bpchar-bpchar/?v=18"},"purpose":"search","scope":"Class input pair","sort_family":"","strategy":"1"}],"title":"Family operator strategies"},{"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":"support-functions","rows":[{"function":"brin_bloom_opcinfo(internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"1","result_type":"internal","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_add_value(internal,internal,internal,internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"2","result_type":"bool","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_consistent(internal,internal,internal,int4)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"3","result_type":"bool","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_union(internal,internal,internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"4","result_type":"bool","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"brin_bloom_options(internal)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"5","result_type":"void","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}},{"function":"hashbpchar(bpchar)","left_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"number":"11","result_type":"int4","right_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}}],"title":"Family support functions"},{"columns":[{"key":"class","label":"Class"},{"key":"input_type","label":"Input type"},{"key":"key_type","label":"Key type"},{"key":"default","label":"Default"}],"key":"classes","rows":[{"class":{"text":"bpchar_bloom_ops","url":"/wiki/opclass/class-brin-bpchar_bloom_ops/?v=18"},"default":"no","input_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"},"key_type":{"text":"bpchar","url":"/wiki/type/bpchar/?v=18"}}],"title":"Classes in this family"}]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
