{"Entry":{"collection":"operator","key":"op-7c7c-text-anynonarray","name":"||(text,anynonarray)","aliases":["||","||(text,anynonarray)"],"metadata":{"aliases":["||","||(text,anynonarray)"],"category":"Character strings","content_hash":"8077a1ed5c9abee095dd7bfe620a9bde10c5636208c5717700dbe009a12390f7","imported_at":"2026-09-30T00:40:43.797768+08:00","name":"||(text,anynonarray)","name_zh":"","slug":"op-7c7c-text-anynonarray","summary":"concatenate"}},"Definition":{"Collection":"operator","Key":"op-7c7c-text-anynonarray","SourceDatabase":"center","Version":"18","SourceTable":"pg_operator_entry","SourceKey":"op-7c7c-text-anynonarray","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["||","||(text,anynonarray)"],"comparison_data":{"memberships":[],"operator":{"commutator":"","function":"textanycat(text,anynonarray)","hash_join":"f","kind":"b","left_type":"text","merge_join":"f","negator":"","result_type":"text","right_type":"anynonarray","symbol":"||"}},"comparison_hash":"bac5e6dd2f02a48623002b7e1058c930bc524720246e5ce180006a55f76a1740","description":["concatenate"],"facts":[{"label":"Left operand","value":"text"},{"label":"Right operand","value":"anynonarray"},{"label":"Result type","value":"text"},{"label":"Implementing function","value":"textanycat(text,anynonarray)"},{"label":"Operator kind","value":"Binary"},{"label":"Hash join candidate","value":"no"},{"label":"Merge join candidate","value":"no"}],"manual_semantics":"Exact operand/result signature matched","memberships":[],"operator":{"commutator":"","function":"textanycat(text,anynonarray)","hash_join":"f","kind":"b","left_type":"text","merge_join":"f","negator":"","result_type":"text","right_type":"anynonarray","symbol":"||"},"related":[{"label":"text data type","url":"/wiki/type/text/?v=18"},{"label":"anynonarray data type","url":"/wiki/type/anynonarray/?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":["Converts the non-string input to text, then concatenates the two strings. (The non-string input cannot be of an array type, because that would create ambiguity with the array || operators. If you want to concatenate an array's text equivalent, cast it to text explicitly.)","'Value: ' || 42 → Value: 42"],"title":"English manual definition"},{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"signature":"||(text,anynonarray) → text","source_oid":"2779","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: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.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: functions-string.html","path":"functions-string.html","sha256":"eb74cd80615135c0426a0b994588d43c65ebbce7f7753b7fe94ffe36381d7138","url":"/docs/18/functions-string.html#FUNCTIONS-STRING-SQL"}],"tables":[]},"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: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.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: functions-string.html","path":"functions-string.html","sha256":"eb74cd80615135c0426a0b994588d43c65ebbce7f7753b7fe94ffe36381d7138","url":"/docs/18/functions-string.html#FUNCTIONS-STRING-SQL"}]},"MeasuredEvidence":{}},"Text":{"Collection":"operator","Key":"op-7c7c-text-anynonarray","SourceDatabase":"center","Version":"18","Locale":"en","Title":"||(text,anynonarray)","Summary":"concatenate","BodyHTML":"\u003cp\u003econcatenate\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"b8c1881fc244401546a687faa6c44413c542c018611b2ec14740f70308c69257","Payload":{"description":["concatenate"],"related":[{"label":"text data type","url":"/wiki/type/text/?v=18"},{"label":"anynonarray data type","url":"/wiki/type/anynonarray/?v=18"}],"sections":[{"paragraphs":["Converts the non-string input to text, then concatenates the two strings. (The non-string input cannot be of an array type, because that would create ambiguity with the array || operators. If you want to concatenate an array's text equivalent, cast it to text explicitly.)","'Value: ' || 42 → Value: 42"],"title":"English manual definition"},{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
