pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: expressive test macros (was: Report test_atomic_ops() failures consistently, via macros)
Date: Mon, 07 Oct 2019 16:07:30 -0400
Message-ID: <7840.1570478850@sss.pgh.pa.us> (raw)
In-Reply-To: <eff1a2a2-f2ad-90c1-95eb-62631babacf8@2ndquadrant.com>
References: <E1iGnXq-0001K7-Aj@gemulon.postgresql.org>
	<20191005190729.6sx7g23ifdu65s7s@alap3.anarazel.de>
	<2144.1570471061@sss.pgh.pa.us>
	<eff1a2a2-f2ad-90c1-95eb-62631babacf8@2ndquadrant.com>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 2019-10-07 19:57, Tom Lane wrote:
>> I'd just put them all in c.h.  I see no reason why a new header
>> is helpful.

> Assert stuff is already in there, but surely stuff that calls elog()
> doesn't belong in there?

True, though I had the impression that Andres wanted to propose things
that would work in either frontend or backend, presumably with different
implementations.  You could argue it either way as to whether to have
that in c.h (with an #ifdef) or separately in postgres.h and
postgres_fe.h.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <7840.1570478850@sss.pgh.pa.us>
Permalink:  ../7840.1570478850@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7840.1570478850@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, andres@anarazel.de, noah@leadboat.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: expressive test macros (was: Report test_atomic_ops() failures consistently, via macros)
  In-Reply-To: <7840.1570478850@sss.pgh.pa.us>
  References: <E1iGnXq-0001K7-Aj@gemulon.postgresql.org> <20191005190729.6sx7g23ifdu65s7s@alap3.anarazel.de> <2144.1570471061@sss.pgh.pa.us> <eff1a2a2-f2ad-90c1-95eb-62631babacf8@2ndquadrant.com> <7840.1570478850@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox