pgsql: Move Assert() definitions to c.h

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move Assert() definitions to c.h
Date: 2013-02-01 21:32:24
Message-ID: E1U1ODg-0005YM-Dv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move Assert() definitions to c.h

This way, they can be used by frontend and backend code. We already
supported that, but doing it this way allows us to mix true frontend
files with backend files compiled in frontend environment.

Author: Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e1d25de35a2b1f809e8f8d7b182ce0af004f3ec9

Modified Files
--------------
src/include/c.h | 195 +++++++++++++++++++++++++++++++--------------
src/include/postgres.h | 54 +------------
src/include/postgres_fe.h | 12 ---
3 files changed, 136 insertions(+), 125 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-02-01 22:28:00 Re: pgsql: Move Assert() definitions to c.h
Previous Message Robert Haas 2013-02-01 19:46:52 Re: Re: [COMMITTERS] pgsql: Tolerate timeline switches while "pg_basebackup -X fetch" is run