Re: pg_dumpall bug in PG 8.0b3 Win32 port

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_dumpall bug in PG 8.0b3 Win32 port
Дата
Msg-id 416334C9.8010103@dunslane.net
обсуждение исходный текст
Ответ на pg_dumpall bug in PG 8.0b3 Win32 port  ("Luiz K. Matsumura" <luiz@planit.com.br>)
Ответы Re: pg_dumpall bug in PG 8.0b3 Win32 port  ("Luiz K. Matsumura" <luiz@planit.com.br>)
Список pgsql-patches

Luiz K. Matsumura wrote:

> Hi,
>
> I  tried to use pg_dumpall in Win32 and receive a error message like
> this:
>
> pg_dump.exe: [archiver (db)] connection to database "test" failed:
> FATAL:  user "'postgres'" does not exist
>
> Well, the word "'postgres'" is  the word is between simple quotations
> marks and later between double quotations marks.
> Then, I assume that the error must be in string that pg_dumpall mounts
> to execute pg_dump
>
> I modified pg_dumpall.c lines between  160 and 270  to add a #ifndef
> WIN32... #endif clause to pgdumpopts to store
> the parameters with double quotations intead simple quotation marks in
> case of WIN32 ports
> But, I don't have how to test it.
> Please, somebody can test and fix the pg_dumpall.c of oficial source ?
>
> Thanks in advance
>
> Luiz
>
>
>

Please provide your patch as a context diff, not as the whole file, so
we can see what is changed.

cheers

andrew

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

Предыдущее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: libpq and prepared statements progress for 8.0
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Support LDFLAGS_SL on most ports