Fix typo in comments

Zhijie Hou (Fujitsu) <houzj.fnst@fujitsu.com>

From: "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-09-02T11:54:15Z
Lists: pgsql-hackers

Attachments

Hi,

When reviewing other patches, I noticed two typos:

1.
src/backend/parser/gram.y
ALTER TABLE <name> ALTER [COLUMN] <colname> RESET ( column_parameter = value [, ... ] )

RESET cannot specify value.

2.
src/backend/utils/adt/xid8funcs.c
* Same as pg_current_xact_if_assigned() but doesn't assign a new xid if there

pg_current_xact_if_assigned() should be pg_current_xact_id()

Best regards,
Hou zhijie

Commits

  1. Fix typo in comments.