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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2010-12-30 20:16:15 | pgsql: Remove tabs in SGML |
Previous Message | pgsql | 2010-12-29 19:18:26 | pgsql: Tag refs/tags/REL9_1_ALPHA3 was created |