Skip site navigation (1) Skip section navigation (2)

pgsql: Avoid unnecessary public struct declaration in slru.h

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid unnecessary public struct declaration in slru.h
Date: 2010-12-30 15:18:23
Message-ID: E1PYKGl-0005NA-H8@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Avoid unnecessary public struct declaration in slru.h

Instead, declare a public wrapper of the sole function using it for
external callers, so that they don't have to always pass a NULL
argument.

Author: Kevin Grittner

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=55573990cac93d9f17a5c3ef19946415f8244903

Modified Files
--------------
src/backend/access/transam/clog.c      |    4 ++--
src/backend/access/transam/multixact.c |    8 ++++----
src/backend/access/transam/slru.c      |   24 +++++++++++++++++++-----
src/backend/access/transam/subtrans.c  |    2 +-
src/backend/commands/async.c           |    2 +-
src/include/access/slru.h              |    5 +----
6 files changed, 28 insertions(+), 17 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2010-12-30 20:16:15
Subject: pgsql: Remove tabs in SGML
Previous:From: pgsqlDate: 2010-12-29 19:18:26
Subject: pgsql: Tag refs/tags/REL9_1_ALPHA3 was created

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group