Re: New "raw" COPY format

From: "Joel Jacobson" <joel(at)compiler(dot)org>
To: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
Cc: "Jacob Champion" <jacob(dot)champion(at)enterprisedb(dot)com>, "Tatsuo Ishii" <ishii(at)postgresql(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: New "raw" COPY format
Date: 2024-10-17 11:26:59
Message-ID: 3ca726a4-81b2-467e-ae13-29451f71ec47@app.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 16, 2024, at 21:13, Joel Jacobson wrote:
> Therefore, maybe DELIMITER NONE would be a better default
> for RAW? Especially since it's then also more honest in being "raw".
>
> If needing to import an unstructured text file that is just newline
> delimited, and not wanting the entire file as a single value,
> the newline style would then just need to be specified
> using the DELIMITER option.

I realize the DELIMITER NONE syntax is unnecessary,
since if that's the default for RAW, we would just not specify any delimiter.

/Joel

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-10-17 12:24:33 Re: wrong comment in libpq.h
Previous Message Peter Eisentraut 2024-10-17 11:14:11 Re: altering a column's collation leaves an invalid foreign key