Skip to content

Commit b0e5468

Browse files
committed
Remove unnecessary copyObject() call in update (values) code.
1 parent 18f2e03 commit b0e5468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/parser/gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.562 2006/09/02 20:52:01 momjian Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.563 2006/09/03 00:46:41 momjian Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR EVENT
@@ -5974,7 +5974,7 @@ update_target_lists_el:
59745974
ResTarget *res_col = (ResTarget *) lfirst(col_cell);
59755975
Node *res_val = (Node *) lfirst(val_cell);
59765976

5977-
res_col->val = (Node *)copyObject(res_val);
5977+
res_col->val = res_val;
59785978
}
59795979

59805980
$$ = $2;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy