{"Entry":{"collection":"func","key":"bit-or","name":"bit_or","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.0"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"1fa4faa7385b0c393ac01615c78710b49a7f78070d9dea3aba4e5a940854f5fd","derived_content_hash":"c30f80bc1c12b9723897c272f25a9c136e00aaef904254d55b7def3d7e50c396","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:e4f7605cb6a6372dfbdda5b97a930937f7c4cb783a98afde1e5b334a33323d86","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.0","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-27T17:57:28.903515+08:00","last_version":"20","name":"bit_or","name_key":"bit_or","position":21004,"present_in":["8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:769ee1b4d1317b6068a558eb976a06eb1f0a75a6c7a58207cc0614bec53096b4","receipt_sha256":"95a273e6bcd46be256eb72f777b7968a424b2b95ba02054ba19a84171437550f","repair":"wiki-repair-20261023"},"signature":"bit_or ( smallint ) → smallint","signature_count":4,"slug":"bit-or","source_rev":"wiki-repair-20261023:e4f7605cb6a6372dfbdda5b97a930937f7c4cb783a98afde1e5b334a33323d86","summary":"Computes the bitwise OR of all non-null input values.","summary_zh":""}},"Definition":{"Collection":"func","Key":"bit-or","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"bit-or","SourceRevision":"wiki-repair-20261023:e4f7605cb6a6372dfbdda5b97a930937f7c4cb783a98afde1e5b334a33323d86","Facts":{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","version":"18.7"},{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"0bf7506d27b71666fc74840a21a8f77c8a92735174f1d05033865961722e457c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"aggregate","group_label":"聚合函数","lang":"en","layout":"table-new","pages":["functions-aggregate.html"],"prose_only":false,"signatures":[{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003esmallint\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esmallint\u003c/code\u003e","returns":"smallint","text":"bit_or ( smallint ) → smallint","zh_from":"same-version-manual"},{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"bit_or ( integer ) → integer","zh_from":"same-version-manual"},{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebigint\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"bit_or ( bigint ) → bigint","zh_from":"same-version-manual"},{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebit\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebit\u003c/code\u003e","returns":"bit","text":"bit_or ( bit ) → bit","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-aggregate.html","sha256":"68da7af09e2749a855188bbbff99ae036fc7eece4e19b8e048baffd28aa3ca59"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"bit-or","SourceDatabase":"center","Version":"18","Locale":"en","Title":"bit_or","Summary":"Computes the bitwise OR of all non-null input values.","BodyHTML":"Computes the bitwise OR of all non-null input values.","SourceRevision":"wiki-repair-20261023:e4f7605cb6a6372dfbdda5b97a930937f7c4cb783a98afde1e5b334a33323d86","ContentHash":"f578a923e3e3e1ad2aba6c62dfa20a90cb84fcfa6e16b8477a4ef85a7b04e267","Payload":{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","signatures":[{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003esmallint\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esmallint\u003c/code\u003e","returns":"smallint","text":"bit_or ( smallint ) → smallint","zh_from":"same-version-manual"},{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"bit_or ( integer ) → integer","zh_from":"same-version-manual"},{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebigint\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"bit_or ( bigint ) → bigint","zh_from":"same-version-manual"},{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebit\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebit\u003c/code\u003e","returns":"bit","text":"bit_or ( bit ) → bit","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"778f470833d3b04ae04ea94e99a65f1ebd7155b9208a450f5e06bd37c18c358e","Text":"bit_or ( smallint ) → smallint","Returns":"smallint","Payload":{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003esmallint\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esmallint\u003c/code\u003e","returns":"smallint","text":"bit_or ( smallint ) → smallint","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"ef1b807e3c205c3a98e127d76cd2d5a43f1288d5fb255f3c85e9bf04e93279ab","Text":"bit_or ( integer ) → integer","Returns":"integer","Payload":{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"bit_or ( integer ) → integer","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":2,"Hash":"525ced6b216a730b940ca0ee0479d2875d07ba6e88695ead1ccea30b073b9634","Text":"bit_or ( bigint ) → bigint","Returns":"bigint","Payload":{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebigint\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"bit_or ( bigint ) → bigint","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":3,"Hash":"0785a74d30ed33c4b8752a63769ed1ff02a4f192fc02af1a3bb62214e99a5ba3","Text":"bit_or ( bit ) → bit","Returns":"bit","Payload":{"description":"Computes the bitwise OR of all non-null input values.","description_html":"Computes the bitwise OR of all non-null input values.","description_zh":"计算所有非空输入值的按位或。","description_zh_html":"计算所有非空输入值的按位或。","examples":[],"html":"\u003ccode class=\"function\"\u003ebit_or\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebit\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebit\u003c/code\u003e","returns":"bit","text":"bit_or ( bit ) → bit","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
