Add more tests for COPY with incorrect option combinations

Michael Paquier <michael@paquier.xyz>

Commit: 451d1164b9d0cce6acd0b3d0790f09db4c56be0a
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-11-02T00:57:54Z
Releases: 16.0
Add more tests for COPY with incorrect option combinations

Based on the existing coverage report, some combinations were not
checked at all, so add some tests to do so.  Spotted while looking at
the area.

Discussion: https://postgr.es/m/Y2DNm9u7hzIxCXHn@paquier.xyz

Files

PathChange+/−
src/test/regress/expected/copy2.out modified +17 −0
src/test/regress/sql/copy2.sql modified +10 −0

Discussion