pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Change InitToastSnapshot to a macro.
3+ messages / 3 participants
[nested] [flat]

* pgsql: Change InitToastSnapshot to a macro.
@ 2016-08-05 16:04  Robert Haas <rhaas@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Robert Haas @ 2016-08-05 16:04 UTC (permalink / raw)
  To: pgsql-committers

Change InitToastSnapshot to a macro.

tqual.h is included in some front-end compiles, and a static inline
breaks on buildfarm member castoroides.  Since the macro is never
referenced, it should dodge that problem, although this doesn't
seem like the cleanest way of hiding things from front-end compiles.

Report and review by Tom Lane; patch by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/81c766b3fd41c78c634d78ebae8d316808dfc630

Modified Files
--------------
src/backend/access/heap/tuptoaster.c |  2 +-
src/include/utils/tqual.h            | 11 ++++-------
2 files changed, 5 insertions(+), 8 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Change InitToastSnapshot to a macro.
@ 2016-08-05 19:19  Andrew Dunstan <andrew@dunslane.net>
  parent: Robert Haas <rhaas@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Andrew Dunstan @ 2016-08-05 19:19 UTC (permalink / raw)
  To: Robert Haas <rhaas@postgresql.org>; pgsql-committers



On 08/05/2016 12:04 PM, Robert Haas wrote:
> Change InitToastSnapshot to a macro.
>
> tqual.h is included in some front-end compiles, and a static inline
> breaks on buildfarm member castoroides.  Since the macro is never
> referenced, it should dodge that problem, although this doesn't
> seem like the cleanest way of hiding things from front-end compiles.
>
> Report and review by Tom Lane; patch by me.



Appears to have caused some buildfarm failures on the decoding tests.

cheers

andrew



-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Change InitToastSnapshot to a macro.
@ 2016-08-05 20:19  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-08-05 20:19 UTC (permalink / raw)
  To: Andrew Dunstan <andrew@dunslane.net>; +Cc: Robert Haas <rhaas@postgresql.org>; pgsql-committers

Andrew Dunstan <andrew@dunslane.net> writes:
> Appears to have caused some buildfarm failures on the decoding tests.

Argh ... obvious typo, which I failed to see either.  Will fix.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-08-05 20:19 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 16:04 pgsql: Change InitToastSnapshot to a macro. Robert Haas <rhaas@postgresql.org>
2016-08-05 19:19 ` Andrew Dunstan <andrew@dunslane.net>
2016-08-05 20:19   ` Tom Lane <tgl@sss.pgh.pa.us>

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