Re: changeset generation v5-01 - Patches & git tree

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: changeset generation v5-01 - Patches & git tree
Дата
Msg-id
20130705132513.GB11640@awork2.anarazel.de
Ответ на
Список
Дерево обсуждения
logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Steve Singer <steve@ssinger.info>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Steve Singer <steve@ssinger.info>
Re: changeset generation v5-01 - Patches & git tree Alvaro Herrera <alvherre@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Alvaro Herrera <alvherre@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Peter Eisentraut <peter_e@gmx.net>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Alvaro Herrera <alvherre@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Alvaro Herrera <alvherre@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Alvaro Herrera <alvherre@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Simon Riggs <simon@2ndQuadrant.com>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Simon Riggs <simon@2ndQuadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Tom Lane <tgl@sss.pgh.pa.us>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Kevin Grittner <kgrittn@ymail.com>
Re: changeset generation v5-01 - Patches & git tree Alvaro Herrera <alvherre@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Steve Singer <steve@ssinger.info>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: changeset generation v5-01 - Patches & git tree Robert Haas <robertmhaas@gmail.com>
Re: changeset generation v5-01 - Patches & git tree Andres Freund <andres@2ndquadrant.com>
Re: logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: logical changeset generation v5 Robert Haas <robertmhaas@gmail.com>
Re: logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: logical changeset generation v5 Robert Haas <robertmhaas@gmail.com>
Re: logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: logical changeset generation v5 Robert Haas <robertmhaas@gmail.com>
Re: logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: logical changeset generation v5 Robert Haas <robertmhaas@gmail.com>
Re: logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Robert Haas <robertmhaas@gmail.com>
Re: lcr v5 - introduction of InvalidCommandId Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Robert Haas <robertmhaas@gmail.com>
Re: lcr v5 - introduction of InvalidCommandId Tom Lane <tgl@sss.pgh.pa.us>
Re: lcr v5 - introduction of InvalidCommandId Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Tom Lane <tgl@sss.pgh.pa.us>
Re: lcr v5 - introduction of InvalidCommandId Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Robert Haas <robertmhaas@gmail.com>
Re: lcr v5 - introduction of InvalidCommandId Tom Lane <tgl@sss.pgh.pa.us>
Re: lcr v5 - introduction of InvalidCommandId Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - introduction of InvalidCommandId Tom Lane <tgl@sss.pgh.pa.us>
Re: lcr v5 - introduction of InvalidCommandId Peter Geoghegan <pg@heroku.com>
Re: logical changeset generation v5 Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - primary/candidate key in relcache Andres Freund <andres@2ndquadrant.com>
Re: lcr v5 - primary/candidate key in relcache Kevin Grittner <kgrittn@ymail.com>
On 2013-07-05 14:03:56 +0200, Andres Freund wrote:
> On 2013-06-27 21:52:03 -0700, Kevin Grittner wrote:
> > Andres Freund  wrote:
> > 
> > > Hm. There were some issues with the test_logical_decoding
> > > Makefile not cleaning up the regression installation properly.
> > > Which might have caused the issue.
> > >
> > > Could you try after applying the patches and executing a clean
> > > and then rebuild?
> > 
> > Tried, and problem persists.
> > 
> > > Otherwise, could you try applying my git tree so we are sure we
> > > test the same thing?
> > >
> > > $ git remote add af git://git.postgresql.org/git/users/andresfreund/postgres.git
> > > $ git fetch af
> > > $ git checkout -b xlog-decoding af/xlog-decoding-rebasing-cf4
> > > $ ./configure ...
> > > $ make
> > 
> > Tried that, too, and problem persists.  The log shows the last
> > commit on your branch as 022c2da1873de2fbc93ae524819932719ca41bdb.
> 
> Ok. I think I have a slight idea what's going on. Could you check
> whether recompiling with -O0 "fixes" the issue?
> 
> There's something strange going on here, not sure whether it's just a
> bug that's hidden, by either not doing optimizations or by adding more
> elog()s, or wheter it's a compiler bug.

Ok. It was supreme stupidity on my end. Sorry for the time you spent on
it.

Some versions of gcc (and probably other compilers) were removing
sections of code when optimizing because the code was doing undefined
things. Parts of the rdata chain were allocated locally in an
if (needs_key). Which obviously is utterly bogus... A warning would have
been nice though.

Fix pushed and attached.

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления
От: Jon Nelson
Дата:
От: Steve Singer
Дата:
FAQ