Use of E'' in pg_dump

Started by Bruce Momjianabout 21 years ago3 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

The following attached, applied patch uses E'' for strings containing
backslashes in pg_dump. It does not modify COPY data output.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Attachments:

/bjm/difftext/plainDownload+45-15
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: Use of E'' in pg_dump

Bruce Momjian <pgman@candle.pha.pa.us> writes:

The following attached, applied patch uses E'' for strings containing
backslashes in pg_dump. It does not modify COPY data output.

... ruleutils ...

regards, tom lane

#3Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#2)
Re: Use of E'' in pg_dump

Tom Lane wrote:

Bruce Momjian <pgman@candle.pha.pa.us> writes:

The following attached, applied patch uses E'' for strings containing
backslashes in pg_dump. It does not modify COPY data output.

... ruleutils ...

OK, working on that now. In fact, I am going to add a macro called
something like SQL_STR_DOUBLE in the tests for ' and \ so later we will
know exactly what is happening, and where to make changes.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073