Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend
От
Alvaro Herrera
Тема
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend
Дата
Msg-id
20130118152307.GB4063@alvh.no-ip.org
Ответ на
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend (Andres Freund)
Список
Дерево обсуждения
[PATCH] xlogreader-v4 Andres Freund <andres@2ndquadrant.com>
[PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common
between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common
between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 1/5] Centralize Assert* macros into c.h so its common
between backend/frontend Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/5] Centralize Assert* macros into c.h so
its common between backend/frontend Alvaro Herrera <alvherre@2ndquadrant.com>
[PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Tom Lane <tgl@sss.pgh.pa.us>
[PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
[PATCH 1/2] Provide a common malloc wrappers and palloc et al. emulation for frontend'ish environs Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and
palloc et al. emulation for frontend'ish environs Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc et al.
emulation for frontend'ish environs Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and
palloc et al. emulation for frontend'ish environs Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc
et al. emulation for frontend'ish environs Magnus Hagander <magnus@hagander.net>
Re: [PATCH 1/2] Provide a common malloc wrappers and
palloc et al. emulation for frontend'ish environs Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc
et al. emulation for frontend'ish environs Magnus Hagander <magnus@hagander.net>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc et al. emulation for frontend'ish environs Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc et al.
emulation for frontend'ish environs Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH 1/2] Provide a common malloc wrappers and palloc et al. emulation for frontend'ish environs Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH 1/2] Provide a common malloc wrappers and palloc et al. emulation for frontend'ish environs "anarazel@anarazel.de" <andres@anarazel.de>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc
et al. emulation for frontend'ish environs Peter Geoghegan <peter@2ndquadrant.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and palloc
et al. emulation for frontend'ish environs Michael Paquier <michael.paquier@gmail.com>
Re: [PATCH 1/2] Provide a common malloc wrappers and
palloc et al. emulation for frontend'ish environs Andres Freund <andres@2ndquadrant.com>
[PATCH 2/2] use pg_malloc instead of an unchecked malloc in pg_resetxlog Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Heikki Linnakangas <hlinnakangas@vmware.com>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@anarazel.de>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@anarazel.de>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree
mulation (was xlogreader-v4) Heikki Linnakangas <hlinnakangas@vmware.com>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Heikki Linnakangas <hlinnakangas@vmware.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al
and palloc/pfree mulation (was xlogreader-v4) Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree
mulation (was xlogreader-v4) Heikki Linnakangas <hlinnakangas@vmware.com>
Re: [PATCH] unified frontend support for pg_malloc et al and palloc/pfree mulation (was xlogreader-v4) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] unified frontend support for pg_malloc et al and
palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc
et al and palloc/pfree mulation (was xlogreader-v4) Steve Singer <steve@ssinger.info>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc
et al and palloc/pfree mulation (was xlogreader-v4) Steve Singer <steve@ssinger.info>
Re: Re: [PATCH] unified frontend support for pg_malloc et
al and palloc/pfree mulation (was xlogreader-v4) Andres Freund <andres@2ndquadrant.com>
Re: Re: [PATCH] unified frontend support for pg_malloc
et al and palloc/pfree mulation (was xlogreader-v4) Steve Singer <steve@ssinger.info>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Heikki Linnakangas <hlinnakangas@vmware.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Heikki Linnakangas <hlinnakangas@vmware.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result
instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 2/5] Make relpathbackend return a statically
result instead of palloc()'ing it Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 2/5] Make relpathbackend return a statically result
instead of palloc()'ing it Noah Misch <noah@leadboat.com>
[PATCH 3/5] Split out xlog reading into its own module called xlogreader Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 3/5] Split out xlog reading into its own module
called xlogreader Alvaro Herrera <alvherre@2ndquadrant.com>
[PATCH 4/5] Add pg_xlogdump contrib module Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 4/5] Add pg_xlogdump contrib module Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH 4/5] Add pg_xlogdump contrib module Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 4/5] Add pg_xlogdump contrib module Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH 4/5] Add pg_xlogdump contrib module Andres Freund <andres@2ndquadrant.com>
Re: [PATCH 4/5] Add pg_xlogdump contrib module Alvaro Herrera <alvherre@2ndquadrant.com>
[PATCH 5/5] remove spurious space in running_xact's _desc function Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] xlogreader-v4 Andres Freund <andres@2ndquadrant.com>
Re: [PATCH] xlogreader-v4 Thom Brown <thom@linux.com>
Re: [PATCH] xlogreader-v4 Thom Brown <thom@linux.com>
Andres Freund wrote: > On 2013-01-18 15:48:01 +0100, Andres Freund wrote: > > Here's a trivially updated patch which also defines AssertArg() for > > FRONTEND-ish environments since Alvaro added one in xlogreader.c. > > This time for real. Please. Here's a different idea: move all the Assert() and StaticAssert() etc definitions from c.h and postgres.h into a new header, say pgassert.h. That header is included directly by postgres.h (just like palloc.h and elog.h already are) so we don't have to touch the backend code at all. Frontend programs that want that functionality can just #include "pgassert.h" by themselves. The definitions are (obviously) protected by #ifdef FRONTEND so that it all works in both environments cleanly. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата: