From: Fujii Masao Date: Mon, 6 Sep 2021 08:03:40 +0000 (+0900) Subject: Fix typo in comments. X-Git-Tag: REL_15_BETA1~1548 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78aa616be74a13156f4fc8db3a131f1fdc2cce47;p=thirdparty%2Fpostgresql.git Fix typo in comments. Author: Hou Zhijie Discussion: https://postgr.es/m/OS0PR01MB5716E6A6535FDFDC5A1B004194CE9@OS0PR01MB5716.jpnprd01.prod.outlook.com --- diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 39a2849eba3..ee52036a21e 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -2284,7 +2284,7 @@ alter_table_cmd: n->def = (Node *) $5; $$ = (Node *)n; } - /* ALTER TABLE ALTER [COLUMN] RESET ( column_parameter = value [, ... ] ) */ + /* ALTER TABLE ALTER [COLUMN] RESET ( column_parameter [, ... ] ) */ | ALTER opt_column ColId RESET reloptions { AlterTableCmd *n = makeNode(AlterTableCmd); diff --git a/src/backend/utils/adt/xid8funcs.c b/src/backend/utils/adt/xid8funcs.c index cc2b4ac7979..f1870a73668 100644 --- a/src/backend/utils/adt/xid8funcs.c +++ b/src/backend/utils/adt/xid8funcs.c @@ -369,7 +369,7 @@ pg_current_xact_id(PG_FUNCTION_ARGS) } /* - * Same as pg_current_xact_if_assigned() but doesn't assign a new xid if there + * Same as pg_current_xact_id() but doesn't assign a new xid if there * isn't one yet. */ Datum