{"Entry":{"collection":"func","key":"reverse","name":"reverse","aliases":[],"metadata":{"changed_in":["18"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.0","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.1"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":false,"doc_overhaul":false,"from":"17","group_changed":null,"signatures":{"added":["reverse ( bytea ) → bytea"],"removed":[]},"status":"changed","to":"18"}],"content_hash":"90f4efa6a2c2f2131b7d0c69e5d9ccc248edd6e757ff04f406401691fdd22010","derived_content_hash":"c391b741fe94d4faf2137d56b60e22651576ddcec5d940376e01734ff73e385c","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:9855a6d51e864fa45afd7690bc4c06fcb327b0ac1f1c73cd797c5b1c7eeb4970","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.1","group":"string","group_label":"String Functions And Operators","groups":["string","binarystring"],"imported_at":"2026-09-14T21:49:48.667731+08:00","last_version":"20","name":"reverse","name_key":"reverse","position":3038,"present_in":["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":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"4c894c5d2c6d86f959a35a8b544cd9b3e314e93425d8aa0278241db50ec1caf0","repair":"wiki-repair-20261023"},"signature":"reverse ( text ) → text","signature_count":2,"slug":"reverse","source_rev":"wiki-repair-20261023:9855a6d51e864fa45afd7690bc4c06fcb327b0ac1f1c73cd797c5b1c7eeb4970","summary":"Reverses the order of the characters in the string.","summary_zh":""}},"Definition":{"Collection":"func","Key":"reverse","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"reverse","SourceRevision":"wiki-repair-20261023:9855a6d51e864fa45afd7690bc4c06fcb327b0ac1f1c73cd797c5b1c7eeb4970","Facts":{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"颠倒字符串中字符的顺序。","description_zh_html":"颠倒字符串中字符的顺序。","doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-binarystring.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"cd434063935e362cbb3621171770936b04bafcd58673d71a20cd6992580b2d84","version":"18.7"},{"file":"functions-string.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","version":"18.7"},{"file":"functions-binarystring.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"a5ee5be3c79e45371853d5c6dd8b1b3f52734bbc17726dbe626837179a1da1e0","version":"18.7"},{"file":"functions-string.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"7eecd3bb343149124be0476a539f3c682476eab2a15489a0e0ad06fbb769ea9e","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"string","group_label":"字符串函数和操作符","lang":"en","layout":"table-new","pages":["functions-string.html","functions-binarystring.html"],"prose_only":false,"signatures":[{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"颠倒字符串中字符的顺序。","description_zh_html":"颠倒字符串中字符的顺序。","examples":[{"expr":"reverse('abcde')","result":"edcba"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"reverse ( text ) → text","zh_from":"same-version-manual"},{"description":"Reverses the order of the bytes in the binary string.","description_html":"Reverses the order of the bytes in the binary string.","description_zh":"反转二进制字符串中字节的顺序。","description_zh_html":"反转二进制字符串中字节的顺序。","examples":[{"expr":"reverse('\\xabcd'::bytea)","result":"\\xcdab"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"reverse ( bytea ) → bytea","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-string.html","sha256":"0446377e0eccc9299099dc4b4b293204c337e3abefcdc396e9698bc54dd1080b"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-STRING-OTHER","file":"functions-string.html","sha256":"dbe9f91e55c35969d99a8d2697b6f7bd5388a24ccc2b89706a666f176025f1e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"reverse","SourceDatabase":"center","Version":"18","Locale":"en","Title":"reverse","Summary":"Reverses the order of the characters in the string.","BodyHTML":"Reverses the order of the characters in the string.","SourceRevision":"wiki-repair-20261023:9855a6d51e864fa45afd7690bc4c06fcb327b0ac1f1c73cd797c5b1c7eeb4970","ContentHash":"fe382e78784bc4217010d5b7ea3d23da87a5b98bf4b367d262b8e086c85317d5","Payload":{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","signatures":[{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"颠倒字符串中字符的顺序。","description_zh_html":"颠倒字符串中字符的顺序。","examples":[{"expr":"reverse('abcde')","result":"edcba"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"reverse ( text ) → text","zh_from":"same-version-manual"},{"description":"Reverses the order of the bytes in the binary string.","description_html":"Reverses the order of the bytes in the binary string.","description_zh":"反转二进制字符串中字节的顺序。","description_zh_html":"反转二进制字符串中字节的顺序。","examples":[{"expr":"reverse('\\xabcd'::bytea)","result":"\\xcdab"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"reverse ( bytea ) → bytea","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"daf4734bb5e0a44e68f43d5b0707cba3763c66c49648f1dcf6f1dad4d2bba291","Text":"reverse ( text ) → text","Returns":"text","Payload":{"description":"Reverses the order of the characters in the string.","description_html":"Reverses the order of the characters in the string.","description_zh":"颠倒字符串中字符的顺序。","description_zh_html":"颠倒字符串中字符的顺序。","examples":[{"expr":"reverse('abcde')","result":"edcba"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"reverse ( text ) → text","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"f36e751aea287a0a00267753a4faa4d71d188a532bf4454f277a4bba8b65ae21","Text":"reverse ( bytea ) → bytea","Returns":"bytea","Payload":{"description":"Reverses the order of the bytes in the binary string.","description_html":"Reverses the order of the bytes in the binary string.","description_zh":"反转二进制字符串中字节的顺序。","description_zh_html":"反转二进制字符串中字节的顺序。","examples":[{"expr":"reverse('\\xabcd'::bytea)","result":"\\xcdab"}],"html":"\u003ccode class=\"function\"\u003ereverse\u003c/code\u003e ( \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebytea\u003c/code\u003e","returns":"bytea","text":"reverse ( bytea ) → bytea","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
