Re: csv vs json? - Mailing list pgsql-admin

From Samed YILDIRIM
Subject Re: csv vs json?
Date
Msg-id CAAo1mbnwuqx0qKA-OW_eRAiee0Y+2gF5NwVnkefHJesgaT5H2Q@mail.gmail.com
Whole thread Raw
In response to csv vs json?  (Rich Pixley <rich.pixley@hayden.ai>)
Responses Re: csv vs json?
List pgsql-admin
Hi Rich,

It is hard to say what the problem is you encountered and offer any solution. Can you share the error message you got and example lines from your csv file?

I only can recommend you to check the document on the link below. CSV format of file might not match with default settings of PostgreSQL. You can adjust via parameters, such as delimiter, quote, and escape.


Best regards.
Samed YILDIRIM


On Wed, 4 Jan 2023 at 19:10, Rich Pixley <rich.pixley@hayden.ai> wrote:
I'm downloading a table in csv using pgAdmin.  Some tables work just
fine.  Others have JSON fields in the table and these aren't.  What I
get instead is a string with multiple unquoted double quotes that are,
correctly I think, complained about by my csv reader.

Is there a way to get these quoted properly?  Am I doing something
stupid?  Is this a bug?




pgsql-admin by date:

Previous
From: Alexander Pogodin
Date:
Subject: Cascaded Replication question
Next
From: Samed YILDIRIM
Date:
Subject: Re: MSSQL to PostgreSQL Migration