Re: [HACKERS] pg_dump not in very good shape

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] pg_dump not in very good shape
Дата
Msg-id 24392.948053812@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: [HACKERS] pg_dump not in very good shape  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
Список pgsql-hackers
"Ansley, Michael" <Michael.Ansley@intec.co.za> writes:
>> So I'm leaning towards leaving the pg_dump code as-is and fixing the
>> limitation in pqexpbuffer.

> Yes, this is the correct solution.  What's the best way? To check the
> incoming string lengths for anything aproaching or greater than 1kB and
> slice it up from there?

I don't think we can do that short of writing a complete snprintf
emulation --- so we might as well just use snprintf.
        regards, tom lane


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

Предыдущее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [HACKERS] pg_dump not in very good shape
Следующее
От: Mike Mascari
Дата:
Сообщение: Re: [HACKERS] pg_dump not in very good shape