{"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","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"],"signature":"min ( see text ) → same as input type","signature_count":1,"slug":"min","source_rev":"b7bd9cda","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":"b7bd9cda","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","slug":"18"},"group":"aggregate","group_label":"Aggregate Functions","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"min","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"min","Summary":"计算非空输入值的最小值。适用于任何数字、字符串、日期/时间或枚举类型，以及bytea、inet、interval、money、oid、pg_lsn、tid、xid8，以及包含可排序数据类型的数组和复合类型。","BodyHTML":"计算非空输入值的最小值。适用于任何数字、字符串、日期/时间或枚举类型，以及\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，以及包含可排序数据类型的数组和复合类型。\u003cpre\u003emin ( see text ) → same as input type\u003c/pre\u003e计算非空输入值的最小值。适用于任何数字、字符串、日期/时间或枚举类型，以及\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，以及包含可排序数据类型的数组和复合类型。","SourceRevision":"ca936764","ContentHash":"3bc7646b73088d25cb4f4b17cac2cd722097a8a279404e6dfe5faafbe003a811","Payload":{"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，以及包含可排序数据类型的数组和复合类型。","signatures":[{"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，以及包含可排序数据类型的数组和复合类型。","returns":"same as input type","text":"min ( see text ) → same as input type","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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}
