{"Entry":{"collection":"func","key":"row-number","name":"row_number","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"5c47b649a9ba5835493efd6b99d98861591ca758e92a7dd836e9cdc20e4bb5b4","derived_content_hash":"1767ccd65e4c7c9b28f39af820145e7927da4ee64c810d39c6728954aaa9939c","first_version":"8.4","group":"window","group_label":"Window Functions","groups":["window"],"imported_at":"2026-09-27T17:57:29.011806+08:00","last_version":"20","name":"row_number","name_key":"row_number","position":22006,"present_in":["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":"b7bd9cda","receipt_sha256":"c17b8afebdaccde446ba62a1421da1719cef5b4494aa72ae0798bebc263bcefc","repair":"wiki-repair-20261023"},"signature":"row_number () → bigint","signature_count":1,"slug":"row-number","source_rev":"wiki-repair-20261023:1749ab9fc4d5ba9f6eeb1ed3d6aaea50814552bafdf011862f3c0518f02f6c29","summary":"Returns the number of the current row within its partition, counting from 1.","summary_zh":""}},"Definition":{"Collection":"func","Key":"row-number","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"row-number","SourceRevision":"wiki-repair-20261023:1749ab9fc4d5ba9f6eeb1ed3d6aaea50814552bafdf011862f3c0518f02f6c29","Facts":{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"返回当前行在其分区内的编号，从 1 开始计数。","description_zh_html":"返回当前行在其分区内的编号，从 1 开始计数。","doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"},"group":"window","group_label":"Window Functions","lang":"en","layout":"table-new","pages":["functions-window.html"],"prose_only":false,"signatures":[{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"返回当前行在其分区内的编号，从 1 开始计数。","description_zh_html":"返回当前行在其分区内的编号，从 1 开始计数。","examples":[],"html":"\u003ccode class=\"function\"\u003erow_number\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"row_number () → bigint","zh_from":"same-version-pgdoc"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-window.html","sha256":"859f0e20306eeaf9a15406f95e01cb81a166cfbe2fd21534fc44df3f903b4e6d"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-WINDOW-TABLE","file":"functions-window.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"row-number","SourceDatabase":"center","Version":"18","Locale":"en","Title":"row_number","Summary":"Returns the number of the current row within its partition, counting from 1.","BodyHTML":"Returns the number of the current row within its partition, counting from 1.","SourceRevision":"wiki-repair-20261023:1749ab9fc4d5ba9f6eeb1ed3d6aaea50814552bafdf011862f3c0518f02f6c29","ContentHash":"21930ab8572914522095431ed5f119e446a80abf6ed26bb173ddf244ed22f2fd","Payload":{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","signatures":[{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"返回当前行在其分区内的编号，从 1 开始计数。","description_zh_html":"返回当前行在其分区内的编号，从 1 开始计数。","examples":[],"html":"\u003ccode class=\"function\"\u003erow_number\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"row_number () → bigint","zh_from":"same-version-pgdoc"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","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":"46b903953f45b969e64bf72efcddd50c5cb87e65f024b27260baafff5d8cc941","Text":"row_number () → bigint","Returns":"bigint","Payload":{"description":"Returns the number of the current row within its partition, counting from 1.","description_html":"Returns the number of the current row within its partition, counting from 1.","description_zh":"返回当前行在其分区内的编号，从 1 开始计数。","description_zh_html":"返回当前行在其分区内的编号，从 1 开始计数。","examples":[],"html":"\u003ccode class=\"function\"\u003erow_number\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"row_number () → bigint","zh_from":"same-version-pgdoc"}}],"Spellings":null,"SQLState":null,"Evidence":null}
