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.
Here is a patch to fix this.