Re: New "raw" COPY format

Поиск
Список
Период
Сортировка
Искать

Re: New "raw" COPY format

От:
newtglobal postgresql_contributors <postgresql_contributors@newtglobalcorp.com>
Дата:
The following review has been posted through the commitfest application:
make installcheck-world:  tested, failed
Implements feature:       tested, failed
Spec compliant:           tested, failed
Documentation:            tested, failed

Hi Joel,
After testing the patch, I observed that for single-column tables, the format evolved from SINGLE to RAW and finally to LIST to handle diverse data more flexibly. For example, the command: \COPY test.foo2 FROM '/home/newtdba/postgres-cf-5300/testfiles/testname.txt' WITH (FORMAT LIST); works with CSV, TXT, and RAW files without specifying column names. This LIST format is effective for copying data to/from single-column tables but requires specifying the correct format.

The new status of this patch is: Needs review
FAQ