Re: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)
Damir Belyalov <dam.bel07@gmail.com>
From: Damir <dam.bel07@gmail.com>
To: torikoshia <torikoshia@oss.nttdata.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>, andres@anarazel.de,
tgl@sss.pgh.pa.us, daniel@yesql.se, anisimow.d@gmail.com, HukuToc@gmail.com,
Andrey Lepikhov <a.lepikhov@postgrespro.ru>,
Alena Rybakina <lena.ribackina@yandex.ru>
Date: 2023-09-20T16:15:15Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
doc: Fix COPY ON_ERROR option syntax synopsis.
- f6f8ac8e75c9 17.0 landed
-
Disallow specifying ON_ERROR option without value.
- a6d0fa5ef840 17.0 landed
-
Rename COPY option from SAVE_ERROR_TO to ON_ERROR
- b725b7eec431 17.0 landed
-
Fix spelling in notice
- 58fbbc9d683c 17.0 landed
-
Add new COPY option SAVE_ERROR_TO
- 9e2d8701194f 17.0 landed
Attachments
- v7-0002-Add-new-COPY-option-IGNORE_DATATYPE_ERRORS.patch (text/x-patch) patch v7-0002
> Although v7 patch doesn't have commit messages on the patch, I think > leave commit message is good for reviewers. Sure, didn't notice it. Added the commit message to the updated patch. > * Note: DON'T convert this error to "soft" style (errsave/ereturn). We >> * want this data type to stay permanently in the hard-error world >> so that >> * it can be used for testing that such cases still work reasonably. > > From this point of view, I think this is a supposed way of using widget. I agree, it's a good approach for checking datatype errors, because that's what was intended. > OTOH widget is declared in create_type.sql and I'm not sure it's ok to > use it in another test copy2.sql. I think that other regress tests with 'widget' type that will be created in the future can be not only in the create_type.sql. So it's not a problem that some type or function is taken from another regress test. For example, the table 'onek' is used in many regress tests. Regards, Damir Belyalov Postgres Professional