{"Entry":{"collection":"func","key":"array-remove","name":"array_remove","aliases":[],"metadata":{"changed_in":["14"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.3"},{"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":"13","group_changed":null,"signatures":{"added":["array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray"],"removed":["array_remove ( anyarray, anyelement ) → anyarray"]},"status":"changed","to":"14"}],"content_hash":"6245cc2680fa93e4b863ca81068ad784832ea2343cb6d94dcbf0b9f040bfaaa4","derived_content_hash":"5e8dfa37323a767cec537005c74ff8d19ddfeaa38ffd14300710ec1378a1baa4","first_version":"9.3","group":"array","group_label":"Array Functions And Operators","groups":["array"],"imported_at":"2026-09-14T21:49:48.834217+08:00","last_version":"20","name":"array_remove","name_key":"array_remove","position":19010,"present_in":["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":"e6100b5ccdbb149204c4f2a9b4d5967c9eb7b6a62598ffd6b718dc1f432d16ed","repair":"wiki-repair-20261023"},"signature":"array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray","signature_count":1,"slug":"array-remove","source_rev":"wiki-repair-20261023:bb46fc68c8e38f5fe45d36e4d49afbaabd98f6c294d463521953a30f808df781","summary":"Removes all elements equal to the given value from the array.","summary_zh":""}},"Definition":{"Collection":"func","Key":"array-remove","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"array-remove","SourceRevision":"wiki-repair-20261023:bb46fc68c8e38f5fe45d36e4d49afbaabd98f6c294d463521953a30f808df781","Facts":{"description":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using IS NOT DISTINCT FROM semantics, so it is possible to remove NULLs.","description_html":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e semantics, so it is possible to remove \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003es.","description_zh":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 IS NOT DISTINCT FROM 语义完成比较，所以可以删除 NULL。","description_zh_html":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e 语义完成比较，所以可以删除 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","doc":{"anchor":"ARRAY-FUNCTIONS-TABLE","file":"functions-array.html","slug":"18"},"group":"array","group_label":"Array Functions And Operators","lang":"en","layout":"table-new","pages":["functions-array.html"],"prose_only":false,"signatures":[{"description":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using IS NOT DISTINCT FROM semantics, so it is possible to remove NULLs.","description_html":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e semantics, so it is possible to remove \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003es.","description_zh":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 IS NOT DISTINCT FROM 语义完成比较，所以可以删除 NULL。","description_zh_html":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e 语义完成比较，所以可以删除 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[{"expr":"array_remove(ARRAY[1,2,3,2], 2)","result":"{1,3}"}],"html":"\u003ccode class=\"function\"\u003earray_remove\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e, \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanycompatiblearray\u003c/code\u003e","returns":"anycompatiblearray","text":"array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-array.html","sha256":"a25a0710e8f84e027ef945e85452074399887341e22d79542584f9c646b8f076"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"ARRAY-FUNCTIONS-TABLE","file":"functions-array.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"array-remove","SourceDatabase":"center","Version":"18","Locale":"en","Title":"array_remove","Summary":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using IS NOT DISTINCT FROM semantics, so it is possible to remove NULLs.","BodyHTML":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using \u003ccode\u003eIS NOT DISTINCT FROM\u003c/code\u003e semantics, so it is possible to remove \u003ccode\u003eNULL\u003c/code\u003es.","SourceRevision":"wiki-repair-20261023:bb46fc68c8e38f5fe45d36e4d49afbaabd98f6c294d463521953a30f808df781","ContentHash":"75e737f72669c0bd4a6322c50edd40a1345b4763f211d50744cd9e397e564b29","Payload":{"description":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using IS NOT DISTINCT FROM semantics, so it is possible to remove NULLs.","description_html":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e semantics, so it is possible to remove \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003es.","signatures":[{"description":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using IS NOT DISTINCT FROM semantics, so it is possible to remove NULLs.","description_html":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e semantics, so it is possible to remove \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003es.","description_zh":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 IS NOT DISTINCT FROM 语义完成比较，所以可以删除 NULL。","description_zh_html":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e 语义完成比较，所以可以删除 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[{"expr":"array_remove(ARRAY[1,2,3,2], 2)","result":"{1,3}"}],"html":"\u003ccode class=\"function\"\u003earray_remove\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e, \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanycompatiblearray\u003c/code\u003e","returns":"anycompatiblearray","text":"array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"2f1045e62c21d08d5c6699416ad323553d128d81086228e62703d6224cf36acf","Text":"array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray","Returns":"anycompatiblearray","Payload":{"description":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using IS NOT DISTINCT FROM semantics, so it is possible to remove NULLs.","description_html":"Removes all elements equal to the given value from the array. The array must be one-dimensional. Comparisons are done using \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e semantics, so it is possible to remove \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003es.","description_zh":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 IS NOT DISTINCT FROM 语义完成比较，所以可以删除 NULL。","description_zh_html":"从数组中移除与给定值相等的所有元素。数组必须是一维的。使用 \u003ccode class=\"literal\"\u003eIS NOT DISTINCT FROM\u003c/code\u003e 语义完成比较，所以可以删除 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[{"expr":"array_remove(ARRAY[1,2,3,2], 2)","result":"{1,3}"}],"html":"\u003ccode class=\"function\"\u003earray_remove\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanycompatiblearray\u003c/code\u003e, \u003ccode class=\"type\"\u003eanycompatible\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanycompatiblearray\u003c/code\u003e","returns":"anycompatiblearray","text":"array_remove ( anycompatiblearray, anycompatible ) → anycompatiblearray","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
