pgsql: Fix multi-row DEFAULT handling for INSERT ... SELECT rules.

2023-02-23 Thread Dean Rasheed
Fix multi-row DEFAULT handling for INSERT ... SELECT rules. Given an updatable view with a DO ALSO INSERT ... SELECT rule, a multi-row INSERT ... VALUES query on the view fails if the VALUES list contains any DEFAULTs that are not replaced by view defaults. This manifests as an "unrecognized node

pgsql: Fix multi-row DEFAULT handling for INSERT ... SELECT rules.

2023-02-23 Thread Dean Rasheed
Fix multi-row DEFAULT handling for INSERT ... SELECT rules. Given an updatable view with a DO ALSO INSERT ... SELECT rule, a multi-row INSERT ... VALUES query on the view fails if the VALUES list contains any DEFAULTs that are not replaced by view defaults. This manifests as an "unrecognized node

pgsql: Fix multi-row DEFAULT handling for INSERT ... SELECT rules.

2023-02-23 Thread Dean Rasheed
Fix multi-row DEFAULT handling for INSERT ... SELECT rules. Given an updatable view with a DO ALSO INSERT ... SELECT rule, a multi-row INSERT ... VALUES query on the view fails if the VALUES list contains any DEFAULTs that are not replaced by view defaults. This manifests as an "unrecognized node

pgsql: Fix multi-row DEFAULT handling for INSERT ... SELECT rules.

2023-02-23 Thread Dean Rasheed
Fix multi-row DEFAULT handling for INSERT ... SELECT rules. Given an updatable view with a DO ALSO INSERT ... SELECT rule, a multi-row INSERT ... VALUES query on the view fails if the VALUES list contains any DEFAULTs that are not replaced by view defaults. This manifests as an "unrecognized node

pgsql: Fix multi-row DEFAULT handling for INSERT ... SELECT rules.

2023-02-23 Thread Dean Rasheed
Fix multi-row DEFAULT handling for INSERT ... SELECT rules. Given an updatable view with a DO ALSO INSERT ... SELECT rule, a multi-row INSERT ... VALUES query on the view fails if the VALUES list contains any DEFAULTs that are not replaced by view defaults. This manifests as an "unrecognized node

pgsql: Fix multi-row DEFAULT handling for INSERT ... SELECT rules.

2023-02-23 Thread Dean Rasheed
Fix multi-row DEFAULT handling for INSERT ... SELECT rules. Given an updatable view with a DO ALSO INSERT ... SELECT rule, a multi-row INSERT ... VALUES query on the view fails if the VALUES list contains any DEFAULTs that are not replaced by view defaults. This manifests as an "unrecognized node