Re: bytea vs. pg_dump

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: bytea vs. pg_dump
Дата
Msg-id 20090804011438.GN19615@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: bytea vs. pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: bytea vs. pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > I vote for a new bytea.h file that does not slurp in byteain/byteaout,
> > to avoid breaking 3rd party code.  miscadmin.h seems the worst solution,
> > since it's already included in 210 other files.
> 
> Well, unless you want to leave *all* the bytea functions in builtins.h
> there will still be some risk there.  I'd actually sooner break calls
> of byteaout than other things, because in reality every caller of
> byteaout is going to need to be inspected to see if it's expecting
> the old-style output format.

Hmm, good point ... why avoid the breakage then?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: SE-PostgreSQL Specifications
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bytea vs. pg_dump