Re: Library versioning

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Library versioning
Дата
Msg-id 20000919140453.B10602@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: Library versioning  (Alfred Perlstein <bright@wintelcom.net>)
Список pgsql-hackers
On Mon, Sep 18, 2000 at 11:17:19AM -0700, Alfred Perlstein wrote:
> If you re-order an exported emum you are going to complete break binary
> compatibility, either bump the major or add the entries at the end.

The later is what I did so far.

> However there's another problem even if you add at the end, namely
> that if previously the 'default' doesn't describe the new values
> then you also break compatibility, for instance:
> ... 
> If you happened to add another error state or something that indicated
> some other action was required you'd also be breaking compatibility.

If the library returns the value, yes. But in my case the library just
accepts two more values. So th eonly problem I can think of is that someone
would try to run a new binary against the old library.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: John McKown
Дата:
Сообщение: Possible "enhancement"?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ascii to character conversion in postgres