[ 
https://issues.apache.org/jira/browse/CSV-208?focusedWorklogId=618720&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-618720
 ]

ASF GitHub Bot logged work on CSV-208:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jul/21 16:09
            Start Date: 05/Jul/21 16:09
    Worklog Time Spent: 10m 
      Work Description: garydgregory commented on pull request #32:
URL: https://github.com/apache/commons-csv/pull/32#issuecomment-874216725


   No reply in years, closing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 618720)
    Time Spent: 20m  (was: 10m)

> Fix escape character for POSTGRESQL_TEXT and POSTGRESQL_CSV formats.
> --------------------------------------------------------------------
>
>                 Key: CSV-208
>                 URL: https://issues.apache.org/jira/browse/CSV-208
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Parser
>            Reporter: Gary D. Gregory
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 1.7
>
>         Attachments: CSVFormatTest.java
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Cannot parse PostgreSQL CSV and Text formats.
> We cannot seem to parse the stock PostgreSQL Text format, see 
> - org.apache.commons.csv.CSVPrinterTest.testRandomPostgreSqlCsv()
> - org.apache.commons.csv.CSVPrinterTest.testRandomPostgreSqlText()
> - org.apache.commons.csv.CSVPrinterTest.testPostgreSqlCsvNullOutput()
> - org.apache.commons.csv.CSVPrinterTest.testPostgreSqlCsvTextOutput()
> I am guessing that the issue is that in PostgreSQL, the escape character is 
> the same as the quote character:
> {quote}
> QUOTE
> Specifies the quoting character to be used when a data value is quoted. The 
> default is double-quote. This must be a single one-byte character. This 
> option is allowed only when using CSV format.
> ESCAPE
> Specifies the character that should appear before a data character that 
> matches the QUOTE value. The default is the same as the QUOTE value (so that 
> the quoting character is doubled if it appears in the data). This must be a 
> single one-byte character. This option is allowed only when using CSV format.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to