| From: | Davin Shearer <davin(at)apache(dot)org> | 
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> | 
| Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Joe Conway <mail(at)joeconway(dot)com> | 
| Subject: | Re: Emitting JSON to file using COPY TO | 
| Date: | 2023-12-05 19:50:23 | 
| Message-ID: | CALvfUkD8+bcNs1cYeU3wK9YsyZ7zUjs2aTxO+++Vq7zKeUE7+w@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general pgsql-hackers | 
Hi Joe,
In reviewing the 005 patch, I think that when used with FORCE ARRAY, we
should also _imply_ FORCE ROW DELIMITER.  I can't envision a use case where
someone would want to use FORCE ARRAY without also using FORCE ROW
DELIMITER.  I can, however, envision a use case where someone would want
FORCE ROW DELIMITER without FORCE ARRAY, like maybe including into a larger
array.  I definitely appreciate these options and the flexibility that they
afford from a user perspective.
In the test output, will you also show the different variations with FORCE
ARRAY and FORCE ROW DELIMITER => {(false, false), (true, false), (false,
true), (true, true)}?  Technically you've already shown me the (false,
false) case as those are the defaults.
Thanks!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2023-12-05 20:55:53 | Re: Emitting JSON to file using COPY TO | 
| Previous Message | Joe Conway | 2023-12-05 18:51:22 | Re: Emitting JSON to file using COPY TO | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2023-12-05 19:58:08 | Re: CREATE FUNCTION ... SEARCH { DEFAULT | SYSTEM | SESSION } | 
| Previous Message | Dmitry Koval | 2023-12-05 19:03:37 | Re: collect_corrupt_items_vacuum.patch |