{"Entry":{"collection":"func","key":"current-timestamp","name":"current_timestamp","aliases":[],"metadata":{"changed_in":["7.3","8.1","8.2"],"changes":[{"descriptions_changed":true,"doc_overhaul":false,"from":"7.2","group_changed":null,"signatures":{"added":["current_timestamp → timestamp with time zone","CURRENT_TIMESTAMP ( precision ) LOCALTIME LOCALTIMESTAMP"],"removed":["current_timestamp → timestamp","CURRENT_TIMESTAMP ( precision )"]},"status":"changed","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":["CURRENT_TIMESTAMP (precision) LOCALTIME LOCALTIMESTAMP"],"removed":["CURRENT_TIMESTAMP ( precision ) LOCALTIME LOCALTIMESTAMP"]},"status":"changed","to":"8.1"},{"descriptions_changed":true,"doc_overhaul":false,"from":"8.1","group_changed":null,"signatures":{"added":["CURRENT_TIMESTAMP(precision) LOCALTIME LOCALTIMESTAMP"],"removed":["CURRENT_TIMESTAMP (precision) LOCALTIME LOCALTIMESTAMP"]},"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":"6e4b57f2a08503e56951f255dec80308ea1be9572f6f60989e270bd42af8a927","first_version":"7.1","group":"datetime","group_label":"Date/Time Functions And Operators","groups":["datetime"],"imported_at":"2026-09-27T17:57:28.520153+08:00","last_version":"20","name":"current_timestamp","name_key":"current_timestamp","position":8004,"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":"current_timestamp → timestamp with time zone","signature_count":3,"slug":"current-timestamp","source_rev":"b7bd9cda","summary":"Current date and time (start of current transaction); see Section 9.9.5","summary_zh":""}},"Definition":{"Collection":"func","Key":"current-timestamp","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"current-timestamp","SourceRevision":"b7bd9cda","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","slug":"18"},"group":"datetime","group_label":"Date/Time Functions And Operators","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":"","description_zh_html":"","examples":[{"expr":"current_timestamp","result":"2019-12-23 14:39:53.662522-05"}],"html":"\u003ccode class=\"function\"\u003ecurrent_timestamp\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"current_timestamp → timestamp with time zone","zh_from":""},{"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":"","description_zh_html":"","examples":[{"expr":"current_timestamp(0)","result":"2019-12-23 14:39:53-05"}],"html":"\u003ccode class=\"function\"\u003ecurrent_timestamp\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"current_timestamp ( integer ) → timestamp with time zone","zh_from":""},{"description":"CURRENT_TIME and CURRENT_TIMESTAMP deliver values with time zone; LOCALTIME and LOCALTIMESTAMP deliver values without time zone.","description_html":"\u003ccode class=\"function\"\u003eCURRENT_TIME\u003c/code\u003e and \u003ccode class=\"function\"\u003eCURRENT_TIMESTAMP\u003c/code\u003e deliver values with time zone; \u003ccode class=\"function\"\u003eLOCALTIME\u003c/code\u003e and \u003ccode class=\"function\"\u003eLOCALTIMESTAMP\u003c/code\u003e deliver values without time zone.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eCURRENT_TIMESTAMP\u003c/code\u003e(\u003cem class=\"replaceable\"\u003e\u003ccode\u003eprecision\u003c/code\u003e\u003c/em\u003e) LOCALTIME LOCALTIMESTAMP","returns":"","text":"CURRENT_TIMESTAMP(precision) LOCALTIME LOCALTIMESTAMP","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"current-timestamp","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"current_timestamp","Summary":"当前日期和时间（当前事务开始时）；参见第 9.9.5 节","BodyHTML":"当前日期和时间（当前事务开始时）；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" rel=\"nofollow\"\u003e第 9.9.5 节\u003c/a\u003e\u003cpre\u003ecurrent_timestamp → timestamp with time zone\u003c/pre\u003e当前日期和时间（当前事务开始时）；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" rel=\"nofollow\"\u003e第 9.9.5 节\u003c/a\u003e\u003cpre\u003ecurrent_timestamp ( integer ) → timestamp with time zone\u003c/pre\u003e当前日期和时间（当前事务开始时），精度受限；参见\u003ca href=\"/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT\" rel=\"nofollow\"\u003e第 9.9.5 节\u003c/a\u003e\u003cpre\u003eCURRENT_TIMESTAMP(precision) LOCALTIME LOCALTIMESTAMP\u003c/pre\u003e\u003ccode\u003eCURRENT_TIME\u003c/code\u003e和\u003ccode\u003eCURRENT_TIMESTAMP\u003c/code\u003e返回带时区的值；\u003ccode\u003eLOCALTIME\u003c/code\u003e和\u003ccode\u003eLOCALTIMESTAMP\u003c/code\u003e返回不带时区的值。","SourceRevision":"ca936764","ContentHash":"6ebae792c000c408ef81d8f9fe732a582da9d35f3e750487d2abe24b3b0fbc60","Payload":{"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","signatures":[{"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","returns":"timestamp with time zone","text":"current_timestamp → timestamp with time zone","zh_from":"doc"},{"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","returns":"timestamp with time zone","text":"current_timestamp ( integer ) → timestamp with time zone","zh_from":"doc"},{"description_zh":"CURRENT_TIME和CURRENT_TIMESTAMP返回带时区的值；LOCALTIME和LOCALTIMESTAMP返回不带时区的值。","description_zh_html":"\u003ccode class=\"function\"\u003eCURRENT_TIME\u003c/code\u003e和\u003ccode class=\"function\"\u003eCURRENT_TIMESTAMP\u003c/code\u003e返回带时区的值；\u003ccode class=\"function\"\u003eLOCALTIME\u003c/code\u003e和\u003ccode class=\"function\"\u003eLOCALTIMESTAMP\u003c/code\u003e返回不带时区的值。","returns":"","text":"CURRENT_TIMESTAMP(precision) LOCALTIME LOCALTIMESTAMP","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":"5e25abd489e5a6de55425d3505b745b3355f3b59d2c1f53fadea2e7902abffab","Text":"current_timestamp → timestamp with time zone","Returns":"timestamp with time zone","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":"","description_zh_html":"","examples":[{"expr":"current_timestamp","result":"2019-12-23 14:39:53.662522-05"}],"html":"\u003ccode class=\"function\"\u003ecurrent_timestamp\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"current_timestamp → timestamp with time zone","zh_from":""}},{"Version":"18","Ordinal":1,"Hash":"214b084e0aeed2a67f1aab828bc33d66ff0e87703fde0667b32e7716843c6f78","Text":"current_timestamp ( integer ) → timestamp with time zone","Returns":"timestamp with time zone","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":"","description_zh_html":"","examples":[{"expr":"current_timestamp(0)","result":"2019-12-23 14:39:53-05"}],"html":"\u003ccode class=\"function\"\u003ecurrent_timestamp\u003c/code\u003e ( \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"current_timestamp ( integer ) → timestamp with time zone","zh_from":""}},{"Version":"18","Ordinal":2,"Hash":"6c260b30ca41427933cacf056e79649a9dd947e267c19237f7231c3b3e728655","Text":"CURRENT_TIMESTAMP(precision) LOCALTIME LOCALTIMESTAMP","Returns":"","Payload":{"description":"CURRENT_TIME and CURRENT_TIMESTAMP deliver values with time zone; LOCALTIME and LOCALTIMESTAMP deliver values without time zone.","description_html":"\u003ccode class=\"function\"\u003eCURRENT_TIME\u003c/code\u003e and \u003ccode class=\"function\"\u003eCURRENT_TIMESTAMP\u003c/code\u003e deliver values with time zone; \u003ccode class=\"function\"\u003eLOCALTIME\u003c/code\u003e and \u003ccode class=\"function\"\u003eLOCALTIMESTAMP\u003c/code\u003e deliver values without time zone.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eCURRENT_TIMESTAMP\u003c/code\u003e(\u003cem class=\"replaceable\"\u003e\u003ccode\u003eprecision\u003c/code\u003e\u003c/em\u003e) LOCALTIME LOCALTIMESTAMP","returns":"","text":"CURRENT_TIMESTAMP(precision) LOCALTIME LOCALTIMESTAMP","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
