diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2020-04-08 11:37:27 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2020-04-08 11:37:27 +0300 |
commit | 1aac32df89eb19949050f6f27c268122833ad036 (patch) | |
tree | 7f1b7d61e1bdb19a5f9437d5198b63e4be4e2ecb /src/backend/nodes/copyfuncs.c | |
parent | 02a2e8b442002a698336954633b0ccc4e30061e6 (diff) | |
download | postgresql-1aac32df89eb19949050f6f27c268122833ad036.tar.gz postgresql-1aac32df89eb19949050f6f27c268122833ad036.zip |
Revert 0f5ca02f53
0f5ca02f53 introduces 3 new keywords. It appears to be too much for relatively
small feature. Given now we past feature freeze, it's already late for
discussion of the new syntax. So, revert.
Discussion: https://postgr.es/m/28209.1586294824%40sss.pgh.pa.us
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index db179becab5..1525c0de725 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -3748,22 +3748,10 @@ _copyTransactionStmt(const TransactionStmt *from) COPY_STRING_FIELD(savepoint_name); COPY_STRING_FIELD(gid); COPY_SCALAR_FIELD(chain); - COPY_NODE_FIELD(wait); return newnode; } -static WaitClause * -_copyWaitClause(const WaitClause *from) -{ - WaitClause *newnode = makeNode(WaitClause); - - COPY_STRING_FIELD(lsn); - COPY_SCALAR_FIELD(timeout); - - return newnode; -}; - static CompositeTypeStmt * _copyCompositeTypeStmt(const CompositeTypeStmt *from) { @@ -5351,9 +5339,6 @@ copyObjectImpl(const void *from) case T_TransactionStmt: retval = _copyTransactionStmt(from); break; - case T_WaitClause: - retval = _copyWaitClause(from); - break; case T_CompositeTypeStmt: retval = _copyCompositeTypeStmt(from); break; |