On 5/18/17 10:11, Tom Lane wrote:
> Well, that's just wacko. Somehow sequence.c's init_params() must
> be falling down on the job in selecting the right seqform->seqmin,
> but I'm darned if I see anything that's either wrong or potentially
> machine-dependent in that code. It almost looks like it must be
> a compiler bug, though I hesitate to jump to that conclusion so
> quickly. Peter, any ideas?
If we had a typo or something in that code, the build farm should have
caught it by now.
I would try compiling with lower -O and see what happens.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services