{"Entry":{"collection":"func","key":"localtimestamp","name":"localtimestamp","aliases":[],"metadata":{"changed_in":["8.1","8.2"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"7.3"},{"descriptions_changed":true,"doc_overhaul":false,"from":"7.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"7.4"},{"descriptions_changed":true,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.0"},{"descriptions_changed":false,"doc_overhaul":false,"from":"8.0","group_changed":null,"signatures":{"added":["LOCALTIMESTAMP (precision)"],"removed":["LOCALTIMESTAMP ( precision )"]},"status":"changed","to":"8.1"},{"descriptions_changed":true,"doc_overhaul":false,"from":"8.1","group_changed":null,"signatures":{"added":["LOCALTIMESTAMP(precision)"],"removed":["LOCALTIMESTAMP (precision)"]},"status":"changed","to":"8.2"},{"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":"13","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"14"}],"content_hash":"2b087b77462d685d2dff4b3bf7510f9d1d59d6cc140b7a7cd08fec9a0190d229","derived_content_hash":"537673fb5ce9d0ffdc3721c27a29e63d0da39752ef7b62a86c3c2fffe09c6486","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:950f5a0b346d323b26ac524e96be4a57cdfbfd95bec1306dcc68bc77c6268e68","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"7.3","group":"datetime","group_label":"Date/Time Functions And Operators","groups":["datetime"],"imported_at":"2026-09-27T17:57:28.557254+08:00","last_version":"20","name":"localtimestamp","name_key":"localtimestamp","position":8016,"present_in":["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:272e3d1a782b06a4380c1adbc360b2aebd135c98c765605705b3dee54abdc46d","receipt_sha256":"5911b09220b0cf0255814f2820eab975b7ccc74308192dcaa3e090911bccf862","repair":"wiki-repair-20261023"},"signature":"localtimestamp → timestamp","signature_count":3,"slug":"localtimestamp","source_rev":"wiki-repair-20261023:950f5a0b346d323b26ac524e96be4a57cdfbfd95bec1306dcc68bc77c6268e68","summary":"Current date and time (start of current transaction); see Section 9.9.5","summary_zh":""}},"Definition":{"Collection":"func","Key":"localtimestamp","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"localtimestamp","SourceRevision":"wiki-repair-20261023:950f5a0b346d323b26ac524e96be4a57cdfbfd95bec1306dcc68bc77c6268e68","Facts":{"description":"Current date and time (start of current transaction); see Section 9.9.5","description_html":"Current date and time (start of current transaction); see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时）；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时）；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","version":"18.7"},{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"c3efdd1c3df6795c73dfea2ecec17ca31ff37da23d758083a581d75445851f0c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"datetime","group_label":"时间/日期函数和操作符","lang":"en","layout":"table-new","pages":["functions-datetime.html"],"prose_only":false,"signatures":[{"description":"Current date and time (start of current transaction); see Section 9.9.5","description_html":"Current date and time (start of current transaction); see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时）；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时）；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","examples":[{"expr":"localtimestamp","result":"2019-12-23 14:39:53.662522"}],"html":"\u003ccode class=\"function\"\u003elocaltimestamp\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003etimestamp\u003c/code\u003e","returns":"timestamp","text":"localtimestamp → timestamp","zh_from":"same-version-manual"},{"description":"Current date and time (start of current transaction), with limited precision; see Section 9.9.5","description_html":"Current date and time (start of current transaction), with limited precision; see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时），精度受限；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时），精度受限；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","examples":[{"expr":"localtimestamp(2)","result":"2019-12-23 14:39:53.66"}],"html":"\u003ccode class=\"function\"\u003elocaltimestamp\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etimestamp\u003c/code\u003e","returns":"timestamp","text":"localtimestamp ( integer ) → timestamp","zh_from":"same-version-manual"},{"description":"","description_html":"","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eLOCALTIMESTAMP\u003c/code\u003e(\u003cem class=\"replaceable\"\u003e\u003ccode\u003eprecision\u003c/code\u003e\u003c/em\u003e)","returns":"","text":"LOCALTIMESTAMP(precision)","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-datetime.html","sha256":"2340eed8f18e5a5a727bb6bf8f828eedbab527da91082a214ea4f64a3b8750a6"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"localtimestamp","SourceDatabase":"center","Version":"18","Locale":"en","Title":"localtimestamp","Summary":"Current date and time (start of current transaction); see Section 9.9.5","BodyHTML":"Current date and time (start of current transaction); see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" rel=\"nofollow\"\u003eSection 9.9.5\u003c/a\u003e","SourceRevision":"wiki-repair-20261023:950f5a0b346d323b26ac524e96be4a57cdfbfd95bec1306dcc68bc77c6268e68","ContentHash":"328015c09f2ca30d8d2cb49c0d92327464eba487cf121ca50a802bf97574b815","Payload":{"description":"Current date and time (start of current transaction); see Section 9.9.5","description_html":"Current date and time (start of current transaction); see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","signatures":[{"description":"Current date and time (start of current transaction); see Section 9.9.5","description_html":"Current date and time (start of current transaction); see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时）；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时）；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","examples":[{"expr":"localtimestamp","result":"2019-12-23 14:39:53.662522"}],"html":"\u003ccode class=\"function\"\u003elocaltimestamp\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003etimestamp\u003c/code\u003e","returns":"timestamp","text":"localtimestamp → timestamp","zh_from":"same-version-manual"},{"description":"Current date and time (start of current transaction), with limited precision; see Section 9.9.5","description_html":"Current date and time (start of current transaction), with limited precision; see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时），精度受限；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时），精度受限；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","examples":[{"expr":"localtimestamp(2)","result":"2019-12-23 14:39:53.66"}],"html":"\u003ccode class=\"function\"\u003elocaltimestamp\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etimestamp\u003c/code\u003e","returns":"timestamp","text":"localtimestamp ( integer ) → timestamp","zh_from":"same-version-manual"},{"description":"","description_html":"","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eLOCALTIMESTAMP\u003c/code\u003e(\u003cem class=\"replaceable\"\u003e\u003ccode\u003eprecision\u003c/code\u003e\u003c/em\u003e)","returns":"","text":"LOCALTIMESTAMP(precision)","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","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":"73bcafc9ec96ba9369ff2503941e1a90a858d133cb0bc5a6473292c14f85c626","Text":"localtimestamp → timestamp","Returns":"timestamp","Payload":{"description":"Current date and time (start of current transaction); see Section 9.9.5","description_html":"Current date and time (start of current transaction); see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时）；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时）；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","examples":[{"expr":"localtimestamp","result":"2019-12-23 14:39:53.662522"}],"html":"\u003ccode class=\"function\"\u003elocaltimestamp\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003etimestamp\u003c/code\u003e","returns":"timestamp","text":"localtimestamp → timestamp","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"81083046d99e4e56680960a862dca78dd42ff7a7baecf6e923745d8b0104a158","Text":"localtimestamp ( integer ) → timestamp","Returns":"timestamp","Payload":{"description":"Current date and time (start of current transaction), with limited precision; see Section 9.9.5","description_html":"Current date and time (start of current transaction), with limited precision; see \u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. Current Date/Time\"\u003eSection 9.9.5\u003c/a\u003e","description_zh":"当前日期和时间（当前事务开始时），精度受限；参见第 9.9.5 节","description_zh_html":"当前日期和时间（当前事务开始时），精度受限；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" title=\"9.9.5. 当前日期/时间\"\u003e第 9.9.5 节\u003c/a\u003e","examples":[{"expr":"localtimestamp(2)","result":"2019-12-23 14:39:53.66"}],"html":"\u003ccode class=\"function\"\u003elocaltimestamp\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etimestamp\u003c/code\u003e","returns":"timestamp","text":"localtimestamp ( integer ) → timestamp","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":2,"Hash":"41a530aba868973e9d081f8541096d9018720e75b6eb8feb40b4ed5bc2f03b7f","Text":"LOCALTIMESTAMP(precision)","Returns":"","Payload":{"description":"","description_html":"","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eLOCALTIMESTAMP\u003c/code\u003e(\u003cem class=\"replaceable\"\u003e\u003ccode\u003eprecision\u003c/code\u003e\u003c/em\u003e)","returns":"","text":"LOCALTIMESTAMP(precision)","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
