Re: Backslashes in string literals

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Backslashes in string literals
Дата
Msg-id 200602101631.k1AGVDm04293@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Backslashes in string literals  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Backslashes in string literals  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Kevin Grittner wrote:
> >>> On Thu, Feb 9, 2006 at 10:31 pm, in message
> <200602100431.k1A4VlY21635@candle.pha.pa.us>, Bruce Momjian
> <pgman@candle.pha.pa.us> wrote: 
> > 
> > OK, I got it working.  The fix is to add GUC_REPORT to guc.c for
> > standard_conforming_strings.  See the same flag on
> > session_authorization.  That will cause libpq to see any changes made
> to
> > that variable.  Sorry I didn't know that detail before.
> 
> Fantastic!  I added that flag on my end, and everything I've tried is
> working perfectly, except: I found that I didn't get my "expected" file
> 100% right with my hand-crafted attempt.  You're probably already on
> that, but just in case it might save you a few minutes -- attached is a
> good patch for the "expected" file to go with the new regression test
> script for strings.
> 

Oh, what I normally do is to look at regression.diff, and if that looks
OK, I just apply it to the expected file like this:
cd expectedpatch < ../regression.diff

--  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,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Scrollable cursors and Sort performance
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: PostgreSQL 8.0.6 crash