mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
COPY (INSERT/UPDATE/DELETE .. RETURNING ..)
Attached is a patch for being able to do COPY (query) without a CTE. Author: Marko Tiikkaja Review: Michael Paquier
This commit is contained in:
@@ -1680,7 +1680,8 @@ typedef struct CopyStmt
|
||||
{
|
||||
NodeTag type;
|
||||
RangeVar *relation; /* the relation to copy */
|
||||
Node *query; /* the SELECT query to copy */
|
||||
Node *query; /* the query (SELECT or DML statement with
|
||||
* RETURNING) to copy */
|
||||
List *attlist; /* List of column names (as Strings), or NIL
|
||||
* for all columns */
|
||||
bool is_from; /* TO or FROM */
|
||||
|
||||
Reference in New Issue
Block a user