Re: timeline signedness

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: timeline signedness
Дата
Msg-id 520B843A.6090001@vmware.com
обсуждение исходный текст
Ответ на Re: timeline signedness  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: timeline signedness
Список pgsql-hackers
On 13.08.2013 14:31, Peter Eisentraut wrote:
> On Wed, 2013-08-07 at 21:55 -0400, Peter Eisentraut wrote:
>> WAL timelines are unsigned 32-bit integers everywhere, except the
>> replication parser (replication/repl_gram.y and
>> replication/repl_scanner.l) treats them as signed 32-bit integers.  It's
>> obviously a corner case, but it would be prudent to be correct about
>> this.  It should be easy to fix in those grammar files.

+1

> Here is a patch to fix this.

If I'm reading this correctly, timeline 0 no longer throws an error with 
this patch.

- Heikki



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: timeline signedness
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: StrategyGetBuffer optimization, take 2