{"Entry":{"collection":"func","key":"min","name":"min","aliases":[],"metadata":{"changed_in":["7.2","7.3"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.1","group_changed":null,"signatures":{"added":["min ( expression )"],"removed":["MIN ( expression )"]},"status":"changed","to":"7.2"},{"descriptions_changed":true,"doc_overhaul":false,"from":"7.2","group_changed":null,"signatures":{"added":["min ( expression ) → same as argument type"],"removed":["min ( expression )"]},"status":"changed","to":"7.3"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"14","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"15"},{"descriptions_changed":true,"doc_overhaul":false,"from":"17","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"18"},{"descriptions_changed":true,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"19"},{"descriptions_changed":true,"doc_overhaul":false,"from":"19","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"20"}],"content_hash":"b78f879721778d97122e02fba2a3243d7d2c4ee5193a461a115f117a96b9a1d1","derived_content_hash":"5a1893cbd2bb70ed2c6274a88e1a56e2f0ea17e6d75fdf63029a653ddb685d9d","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:400c223841750feac11532056e9e6251b34ce3be5c1d21a1292132cfbfe4dc9c","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"7.1","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-27T17:57:28.932832+08:00","last_version":"20","name":"min","name_key":"min","position":21031,"present_in":["7.1","7.2","7.3","7.4","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:aad68489e92858e44394c08e766e8337b20d5d536c73122998140c2e176de03d","receipt_sha256":"61ad8876e5c05d1430becebe3b7f923d1549005034520c03818beac734c28691","repair":"wiki-repair-20261023"},"signature":"min ( see text ) → same as input type","signature_count":1,"slug":"min","source_rev":"wiki-repair-20261023:400c223841750feac11532056e9e6251b34ce3be5c1d21a1292132cfbfe4dc9c","summary":"Computes the minimum of the non-null input values.","summary_zh":""}},"Definition":{"Collection":"func","Key":"min","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"min","SourceRevision":"wiki-repair-20261023:400c223841750feac11532056e9e6251b34ce3be5c1d21a1292132cfbfe4dc9c","Facts":{"description":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.","description_html":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einterval\u003c/code\u003e, \u003ccode class=\"type\"\u003emoney\u003c/code\u003e, \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003ccode class=\"type\"\u003etid\u003c/code\u003e, \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, and also arrays and composite types containing sortable data types.","description_zh":"计算非空输入值的最小值。适用于任何数字、字符串、日期/时间或枚举类型，以及 bytea、inet、interval、money、oid、pg_lsn、tid、xid8，以及包含可排序数据类型的数组和复合类型。","description_zh_html":"计算非空输入值的最小值。适用于任何数字、字符串、日期/时间或枚举类型，以及 \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e、\u003ccode class=\"type\"\u003einet\u003c/code\u003e、\u003ccode class=\"type\"\u003einterval\u003c/code\u003e、\u003ccode class=\"type\"\u003emoney\u003c/code\u003e、\u003ccode class=\"type\"\u003eoid\u003c/code\u003e、\u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e、\u003ccode class=\"type\"\u003etid\u003c/code\u003e、\u003ccode class=\"type\"\u003exid8\u003c/code\u003e，以及包含可排序数据类型的数组和复合类型。","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 minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.","description_html":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einterval\u003c/code\u003e, \u003ccode class=\"type\"\u003emoney\u003c/code\u003e, \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003ccode class=\"type\"\u003etid\u003c/code\u003e, \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, and also arrays and composite types containing sortable data types.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003emin\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003esee text\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003cem class=\"replaceable\"\u003e\u003ccode\u003esame as input type\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e","returns":"same as input type","text":"min ( see text ) → same as input type","zh_from":""}],"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":"min","SourceDatabase":"center","Version":"18","Locale":"en","Title":"min","Summary":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.","BodyHTML":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as \u003ccode\u003ebytea\u003c/code\u003e, \u003ccode\u003einet\u003c/code\u003e, \u003ccode\u003einterval\u003c/code\u003e, \u003ccode\u003emoney\u003c/code\u003e, \u003ccode\u003eoid\u003c/code\u003e, \u003ccode\u003epg_lsn\u003c/code\u003e, \u003ccode\u003etid\u003c/code\u003e, \u003ccode\u003exid8\u003c/code\u003e, and also arrays and composite types containing sortable data types.","SourceRevision":"wiki-repair-20261023:400c223841750feac11532056e9e6251b34ce3be5c1d21a1292132cfbfe4dc9c","ContentHash":"8ffc2b59f460847f7480607f24b50387a8c088bc00d268e96392b3ac3de6c890","Payload":{"description":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.","description_html":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einterval\u003c/code\u003e, \u003ccode class=\"type\"\u003emoney\u003c/code\u003e, \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003ccode class=\"type\"\u003etid\u003c/code\u003e, \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, and also arrays and composite types containing sortable data types.","signatures":[{"description":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.","description_html":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einterval\u003c/code\u003e, \u003ccode class=\"type\"\u003emoney\u003c/code\u003e, \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003ccode class=\"type\"\u003etid\u003c/code\u003e, \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, and also arrays and composite types containing sortable data types.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003emin\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003esee text\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003cem class=\"replaceable\"\u003e\u003ccode\u003esame as input type\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e","returns":"same as input type","text":"min ( see text ) → same as input type","zh_from":""}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.1","7.2","7.3","7.4","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":"14872ad7932306ccd8f1282d548a12990e2ccbba3539d796bd1ead2e9d0d17b8","Text":"min ( see text ) → same as input type","Returns":"same as input type","Payload":{"description":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as bytea, inet, interval, money, oid, pg_lsn, tid, xid8, and also arrays and composite types containing sortable data types.","description_html":"Computes the minimum of the non-null input values. Available for any numeric, string, date/time, or enum type, as well as \u003ccode class=\"type\"\u003ebytea\u003c/code\u003e, \u003ccode class=\"type\"\u003einet\u003c/code\u003e, \u003ccode class=\"type\"\u003einterval\u003c/code\u003e, \u003ccode class=\"type\"\u003emoney\u003c/code\u003e, \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003ccode class=\"type\"\u003etid\u003c/code\u003e, \u003ccode class=\"type\"\u003exid8\u003c/code\u003e, and also arrays and composite types containing sortable data types.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003emin\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003esee text\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003cem class=\"replaceable\"\u003e\u003ccode\u003esame as input type\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e","returns":"same as input type","text":"min ( see text ) → same as input type","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
