{"Entry":{"collection":"func","key":"var-samp","name":"var_samp","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.1","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.2"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"fe315c336dde104d6757a99c687b3b4939d802e22968329396646d8fa7e87ff2","derived_content_hash":"0ccc64b752f55fe01670436a7507b205709227cf9b5c7d87b7c80e0fecfa12c7","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:33da36661c87de76ce9d85c101df865cf8af97a5f4c1fbb04570e0b73252a1da","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.2","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-27T17:57:28.983611+08:00","last_version":"20","name":"var_samp","name_key":"var_samp","position":21054,"present_in":["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:a657761c8907bba250b1a6ab2b847ea36cfd8558739e8dcafdd4f72822724594","receipt_sha256":"21d3ba5375fb6d72b9ae3e45528782ba4e3eef057de19549b041bf3315294558","repair":"wiki-repair-20261023"},"signature":"var_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric","signature_count":1,"slug":"var-samp","source_rev":"wiki-repair-20261023:33da36661c87de76ce9d85c101df865cf8af97a5f4c1fbb04570e0b73252a1da","summary":"Computes the sample variance of the input values (square of the sample standard deviation).","summary_zh":""}},"Definition":{"Collection":"func","Key":"var-samp","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"var-samp","SourceRevision":"wiki-repair-20261023:33da36661c87de76ce9d85c101df865cf8af97a5f4c1fbb04570e0b73252a1da","Facts":{"description":"Computes the sample variance of the input values (square of the sample standard deviation).","description_html":"Computes the sample variance of the input values (square of the sample standard deviation).","description_zh":"计算输入值的样本方差（样本标准差的平方）。","description_zh_html":"计算输入值的样本方差（样本标准差的平方）。","doc":{"anchor":"FUNCTIONS-AGGREGATE-STATISTICS-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 sample variance of the input values (square of the sample standard deviation).","description_html":"Computes the sample variance of the input values (square of the sample standard deviation).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003evar_samp\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003c/code\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e for \u003ccode class=\"type\"\u003ereal\u003c/code\u003e or \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e, otherwise \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e","returns":"","text":"var_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric","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-STATISTICS-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"var-samp","SourceDatabase":"center","Version":"18","Locale":"en","Title":"var_samp","Summary":"Computes the sample variance of the input values (square of the sample standard deviation).","BodyHTML":"Computes the sample variance of the input values (square of the sample standard deviation).","SourceRevision":"wiki-repair-20261023:33da36661c87de76ce9d85c101df865cf8af97a5f4c1fbb04570e0b73252a1da","ContentHash":"915aa0a365abe41b20ecf52f879ecf0085633ebab759bb32dfde5b90f02f6bde","Payload":{"description":"Computes the sample variance of the input values (square of the sample standard deviation).","description_html":"Computes the sample variance of the input values (square of the sample standard deviation).","signatures":[{"description":"Computes the sample variance of the input values (square of the sample standard deviation).","description_html":"Computes the sample variance of the input values (square of the sample standard deviation).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003evar_samp\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003c/code\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e for \u003ccode class=\"type\"\u003ereal\u003c/code\u003e or \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e, otherwise \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e","returns":"","text":"var_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric","zh_from":""}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","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":"fb14b9876718a85f98f836dcd3bf32aa6b51739c6642cf782654617bd6142856","Text":"var_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric","Returns":"","Payload":{"description":"Computes the sample variance of the input values (square of the sample standard deviation).","description_html":"Computes the sample variance of the input values (square of the sample standard deviation).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003evar_samp\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003c/code\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e for \u003ccode class=\"type\"\u003ereal\u003c/code\u003e or \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e, otherwise \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e","returns":"","text":"var_samp ( numeric_type ) → double precision for real or double precision, otherwise numeric","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
