Re: add modulo (%) operator to pgbench - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: add modulo (%) operator to pgbench
Date
Msg-id alpine.DEB.2.10.1501051036310.23383@sto
Whole thread Raw
In response to Re: add modulo (%) operator to pgbench  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: add modulo (%) operator to pgbench
List pgsql-hackers
> I'm also just looking at you ERROR() macro, it seems that core code is
> quite careful not to use __VA_ARGS__ on compilers where HAVE__VA_ARGS is
> not defined. I'd say this needs to be fixed too. Have a look at the trick
> used in elog.h for when HAVE__VA_ARGS  is not defined.

Here is a v5 with the vararg macro expanded.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Redesigning checkpoint_segments
Next
From: Fujii Masao
Date:
Subject: Re: pg_basebackup -x/X doesn't play well with archive_mode & wal_keep_segments