Unix Technical Forum

pgsql: Improve our #include situation by moving pointer types away from

This is a discussion on pgsql: Improve our #include situation by moving pointer types away from within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Improve our #include situation by moving pointer types away from the corresponding struct definitions. This allows ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Committers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-20-2008, 03:43 AM
Alvaro Herrera
 
Posts: n/a
Default pgsql: Improve our #include situation by moving pointer types away from

Log Message:
-----------
Improve our #include situation by moving pointer types away from the
corresponding struct definitions. This allows other headers to avoid including
certain highly-loaded headers such as rel.h and relscan.h, instead using just
relcache.h, heapam.h or genam.h, which are more lightweight and thus cause less
unnecessary dependencies.

Modified Files:
--------------
pgsql/contrib/btree_gist:
btree_numeric.c (r1.11 -> r1.12)
(http://anoncvs.postgresql.org/cvsweb...1=1.11&r2=1.12)
btree_utils_num.h (r1.12 -> r1.13)
(http://anoncvs.postgresql.org/cvsweb...1=1.12&r2=1.13)
btree_utils_var.c (r1.19 -> r1.20)
(http://anoncvs.postgresql.org/cvsweb...1=1.19&r2=1.20)
pgsql/contrib/pgrowlocks:
pgrowlocks.c (r1.10 -> r1.11)
(http://anoncvs.postgresql.org/cvsweb...1=1.10&r2=1.11)
pgsql/contrib/pgstattuple:
pgstattuple.c (r1.35 -> r1.36)
(http://anoncvs.postgresql.org/cvsweb...1=1.35&r2=1.36)
pgsql/src/backend/access/gin:
ginbtree.c (r1.12 -> r1.13)
(http://anoncvs.postgresql.org/cvsweb...1=1.12&r2=1.13)
gindatapage.c (r1.10 -> r1.11)
(http://anoncvs.postgresql.org/cvsweb...1=1.10&r2=1.11)
ginentrypage.c (r1.15 -> r1.16)
(http://anoncvs.postgresql.org/cvsweb...1=1.15&r2=1.16)
ginget.c (r1.16 -> r1.17)
(http://anoncvs.postgresql.org/cvsweb...1=1.16&r2=1.17)
ginscan.c (r1.14 -> r1.15)
(http://anoncvs.postgresql.org/cvsweb...1=1.14&r2=1.15)
pgsql/src/backend/access/gist:
gistget.c (r1.73 -> r1.74)
(http://anoncvs.postgresql.org/cvsweb...1=1.73&r2=1.74)
gistscan.c (r1.69 -> r1.70)
(http://anoncvs.postgresql.org/cvsweb...1=1.69&r2=1.70)
gistsplit.c (r1.5 -> r1.6)
(http://anoncvs.postgresql.org/cvsweb...?r1=1.5&r2=1.6)
gistutil.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb...1=1.28&r2=1.29)
gistxlog.c (r1.29 -> r1.30)
(http://anoncvs.postgresql.org/cvsweb...1=1.29&r2=1.30)
pgsql/src/backend/access/hash:
hash.c (r1.103 -> r1.104)
(http://anoncvs.postgresql.org/cvsweb...1.103&r2=1.104)
hashinsert.c (r1.49 -> r1.50)
(http://anoncvs.postgresql.org/cvsweb...1=1.49&r2=1.50)
hashovfl.c (r1.63 -> r1.64)
(http://anoncvs.postgresql.org/cvsweb...1=1.63&r2=1.64)
hashscan.c (r1.44 -> r1.45)
(http://anoncvs.postgresql.org/cvsweb...1=1.44&r2=1.45)
hashsearch.c (r1.52 -> r1.53)
(http://anoncvs.postgresql.org/cvsweb...1=1.52&r2=1.53)
hashutil.c (r1.54 -> r1.55)
(http://anoncvs.postgresql.org/cvsweb...1=1.54&r2=1.55)
pgsql/src/backend/access/heap:
heapam.c (r1.259 -> r1.260)
(http://anoncvs.postgresql.org/cvsweb...1.259&r2=1.260)
pruneheap.c (r1.14 -> r1.15)
(http://anoncvs.postgresql.org/cvsweb...1=1.14&r2=1.15)
rewriteheap.c (r1.13 -> r1.14)
(http://anoncvs.postgresql.org/cvsweb...1=1.13&r2=1.14)
tuptoaster.c (r1.88 -> r1.89)
(http://anoncvs.postgresql.org/cvsweb...1=1.88&r2=1.89)
pgsql/src/backend/access/index:
genam.c (r1.70 -> r1.71)
(http://anoncvs.postgresql.org/cvsweb...1=1.70&r2=1.71)
indexam.c (r1.108 -> r1.109)
(http://anoncvs.postgresql.org/cvsweb...1.108&r2=1.109)
pgsql/src/backend/access/nbtree:
nbtree.c (r1.160 -> r1.161)
(http://anoncvs.postgresql.org/cvsweb...1.160&r2=1.161)
nbtsearch.c (r1.117 -> r1.118)
(http://anoncvs.postgresql.org/cvsweb...1.117&r2=1.118)
nbtsort.c (r1.115 -> r1.116)
(http://anoncvs.postgresql.org/cvsweb...1.115&r2=1.116)
nbtutils.c (r1.90 -> r1.91)
(http://anoncvs.postgresql.org/cvsweb...1=1.90&r2=1.91)
pgsql/src/backend/access/transam:
xlogutils.c (r1.55 -> r1.56)
(http://anoncvs.postgresql.org/cvsweb...1=1.55&r2=1.56)
pgsql/src/backend/catalog:
aclchk.c (r1.146 -> r1.147)
(http://anoncvs.postgresql.org/cvsweb...1.146&r2=1.147)
catalog.c (r1.76 -> r1.77)
(http://anoncvs.postgresql.org/cvsweb...1=1.76&r2=1.77)
index.c (r1.299 -> r1.300)
(http://anoncvs.postgresql.org/cvsweb...1.299&r2=1.300)
namespace.c (r1.105 -> r1.106)
(http://anoncvs.postgresql.org/cvsweb...1.105&r2=1.106)
pg_aggregate.c (r1.92 -> r1.93)
(http://anoncvs.postgresql.org/cvsweb...1=1.92&r2=1.93)
pg_constraint.c (r1.41 -> r1.42)
(http://anoncvs.postgresql.org/cvsweb...1=1.41&r2=1.42)
pg_conversion.c (r1.44 -> r1.45)
(http://anoncvs.postgresql.org/cvsweb...1=1.44&r2=1.45)
pg_depend.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb...1=1.28&r2=1.29)
pg_enum.c (r1.6 -> r1.7)
(http://anoncvs.postgresql.org/cvsweb...?r1=1.6&r2=1.7)
pg_largeobject.c (r1.29 -> r1.30)
(http://anoncvs.postgresql.org/cvsweb...1=1.29&r2=1.30)
pg_namespace.c (r1.18 -> r1.19)
(http://anoncvs.postgresql.org/cvsweb...1=1.18&r2=1.19)
pg_operator.c (r1.103 -> r1.104)
(http://anoncvs.postgresql.org/cvsweb...1.103&r2=1.104)
pg_type.c (r1.118 -> r1.119)
(http://anoncvs.postgresql.org/cvsweb...1.118&r2=1.119)
pgsql/src/backend/commands:
cluster.c (r1.176 -> r1.177)
(http://anoncvs.postgresql.org/cvsweb...1.176&r2=1.177)
comment.c (r1.102 -> r1.103)
(http://anoncvs.postgresql.org/cvsweb...1.102&r2=1.103)
conversioncmds.c (r1.34 -> r1.35)
(http://anoncvs.postgresql.org/cvsweb...1=1.34&r2=1.35)
functioncmds.c (r1.92 -> r1.93)
(http://anoncvs.postgresql.org/cvsweb...1=1.92&r2=1.93)
lockcmds.c (r1.17 -> r1.18)
(http://anoncvs.postgresql.org/cvsweb...1=1.17&r2=1.18)
opclasscmds.c (r1.61 -> r1.62)
(http://anoncvs.postgresql.org/cvsweb...1=1.61&r2=1.62)
operatorcmds.c (r1.39 -> r1.40)
(http://anoncvs.postgresql.org/cvsweb...1=1.39&r2=1.40)
proclang.c (r1.78 -> r1.79)
(http://anoncvs.postgresql.org/cvsweb...1=1.78&r2=1.79)
tablecmds.c (r1.258 -> r1.259)
(http://anoncvs.postgresql.org/cvsweb...1.258&r2=1.259)
tablespace.c (r1.56 -> r1.57)
(http://anoncvs.postgresql.org/cvsweb...1=1.56&r2=1.57)
tsearchcmds.c (r1.12 -> r1.13)
(http://anoncvs.postgresql.org/cvsweb...1=1.12&r2=1.13)
view.c (r1.105 -> r1.106)
(http://anoncvs.postgresql.org/cvsweb...1.105&r2=1.106)
pgsql/src/backend/executor:
nodeBitmapHeapscan.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb...1=1.28&r2=1.29)
nodeIndexscan.c (r1.128 -> r1.129)
(http://anoncvs.postgresql.org/cvsweb...1.128&r2=1.129)
nodeSeqscan.c (r1.64 -> r1.65)
(http://anoncvs.postgresql.org/cvsweb...1=1.64&r2=1.65)
pgsql/src/backend/nodes:
print.c (r1.88 -> r1.89)
(http://anoncvs.postgresql.org/cvsweb...1=1.88&r2=1.89)
pgsql/src/backend/optimizer/plan:
planagg.c (r1.38 -> r1.39)
(http://anoncvs.postgresql.org/cvsweb...1=1.38&r2=1.39)
pgsql/src/backend/optimizer/prep:
preptlist.c (r1.89 -> r1.90)
(http://anoncvs.postgresql.org/cvsweb...1=1.89&r2=1.90)
prepunion.c (r1.146 -> r1.147)
(http://anoncvs.postgresql.org/cvsweb...1.146&r2=1.147)
pgsql/src/backend/optimizer/util:
plancat.c (r1.146 -> r1.147)
(http://anoncvs.postgresql.org/cvsweb...1.146&r2=1.147)
pgsql/src/backend/parser:
analyze.c (r1.371 -> r1.372)
(http://anoncvs.postgresql.org/cvsweb...1.371&r2=1.372)
parse_clause.c (r1.169 -> r1.170)
(http://anoncvs.postgresql.org/cvsweb...1.169&r2=1.170)
pgsql/src/backend/postmaster:
pgstat.c (r1.174 -> r1.175)
(http://anoncvs.postgresql.org/cvsweb...1.174&r2=1.175)
pgsql/src/backend/rewrite:
rewriteDefine.c (r1.126 -> r1.127)
(http://anoncvs.postgresql.org/cvsweb...1.126&r2=1.127)
rewriteRemove.c (r1.72 -> r1.73)
(http://anoncvs.postgresql.org/cvsweb...1=1.72&r2=1.73)
rewriteSupport.c (r1.65 -> r1.66)
(http://anoncvs.postgresql.org/cvsweb...1=1.65&r2=1.66)
pgsql/src/backend/storage/buffer:
bufmgr.c (r1.232 -> r1.233)
(http://anoncvs.postgresql.org/cvsweb...1.232&r2=1.233)
pgsql/src/backend/storage/large_object:
inv_api.c (r1.133 -> r1.134)
(http://anoncvs.postgresql.org/cvsweb...1.133&r2=1.134)
pgsql/src/backend/utils/adt:
dbsize.c (r1.18 -> r1.19)
(http://anoncvs.postgresql.org/cvsweb...1=1.18&r2=1.19)
regproc.c (r1.106 -> r1.107)
(http://anoncvs.postgresql.org/cvsweb...1.106&r2=1.107)
tid.c (r1.61 -> r1.62)
(http://anoncvs.postgresql.org/cvsweb...1=1.61&r2=1.62)
pgsql/src/backend/utils/cache:
catcache.c (r1.143 -> r1.144)
(http://anoncvs.postgresql.org/cvsweb...1.143&r2=1.144)
inval.c (r1.84 -> r1.85)
(http://anoncvs.postgresql.org/cvsweb...1=1.84&r2=1.85)
syscache.c (r1.116 -> r1.117)
(http://anoncvs.postgresql.org/cvsweb...1.116&r2=1.117)
typcache.c (r1.27 -> r1.28)
(http://anoncvs.postgresql.org/cvsweb...1=1.27&r2=1.28)
pgsql/src/backend/utils/resowner:
resowner.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb...1=1.28&r2=1.29)
pgsql/src/backend/utils/sort:
tuplesort.c (r1.84 -> r1.85)
(http://anoncvs.postgresql.org/cvsweb...1=1.84&r2=1.85)
pgsql/src/include:
pgstat.h (r1.75 -> r1.76)
(http://anoncvs.postgresql.org/cvsweb...1=1.75&r2=1.76)
pgsql/src/include/access:
genam.h (r1.73 -> r1.74)
(http://anoncvs.postgresql.org/cvsweb...1=1.73&r2=1.74)
gin.h (r1.21 -> r1.22)
(http://anoncvs.postgresql.org/cvsweb...1=1.21&r2=1.22)
gist.h (r1.60 -> r1.61)
(http://anoncvs.postgresql.org/cvsweb...1=1.60&r2=1.61)
gist_private.h (r1.30 -> r1.31)
(http://anoncvs.postgresql.org/cvsweb...1=1.30&r2=1.31)
hash.h (r1.87 -> r1.88)
(http://anoncvs.postgresql.org/cvsweb...1=1.87&r2=1.88)
heapam.h (r1.136 -> r1.137)
(http://anoncvs.postgresql.org/cvsweb...1.136&r2=1.137)
hio.h (r1.35 -> r1.36)
(http://anoncvs.postgresql.org/cvsweb...1=1.35&r2=1.36)
nbtree.h (r1.119 -> r1.120)
(http://anoncvs.postgresql.org/cvsweb...1.119&r2=1.120)
relscan.h (r1.65 -> r1.66)
(http://anoncvs.postgresql.org/cvsweb...1=1.65&r2=1.66)
rewriteheap.h (r1.4 -> r1.5)
(http://anoncvs.postgresql.org/cvsweb...?r1=1.4&r2=1.5)
tuptoaster.h (r1.39 -> r1.40)
(http://anoncvs.postgresql.org/cvsweb...1=1.39&r2=1.40)
xlogutils.h (r1.24 -> r1.25)
(http://anoncvs.postgresql.org/cvsweb...1=1.24&r2=1.25)
pgsql/src/include/catalog:
catalog.h (r1.39 -> r1.40)
(http://anoncvs.postgresql.org/cvsweb...1=1.39&r2=1.40)
indexing.h (r1.102 -> r1.103)
(http://anoncvs.postgresql.org/cvsweb...1.102&r2=1.103)
pgsql/src/include/commands:
cluster.h (r1.34 -> r1.35)
(http://anoncvs.postgresql.org/cvsweb...1=1.34&r2=1.35)
tablecmds.h (r1.40 -> r1.41)
(http://anoncvs.postgresql.org/cvsweb...1=1.40&r2=1.41)
vacuum.h (r1.77 -> r1.78)
(http://anoncvs.postgresql.org/cvsweb...1=1.77&r2=1.78)
pgsql/src/include/nodes:
execnodes.h (r1.183 -> r1.184)
(http://anoncvs.postgresql.org/cvsweb...1.183&r2=1.184)
print.h (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb...1=1.28&r2=1.29)
pgsql/src/include/optimizer:
plancat.h (r1.49 -> r1.50)
(http://anoncvs.postgresql.org/cvsweb...1=1.49&r2=1.50)
pgsql/src/include/parser:
parse_node.h (r1.53 -> r1.54)
(http://anoncvs.postgresql.org/cvsweb...1=1.53&r2=1.54)
pgsql/src/include/rewrite:
rewriteDefine.h (r1.29 -> r1.30)
(http://anoncvs.postgresql.org/cvsweb...1=1.29&r2=1.30)
rewriteHandler.h (r1.29 -> r1.30)
(http://anoncvs.postgresql.org/cvsweb...1=1.29&r2=1.30)
pgsql/src/include/storage:
buf_internals.h (r1.96 -> r1.97)
(http://anoncvs.postgresql.org/cvsweb...1=1.96&r2=1.97)
bufmgr.h (r1.113 -> r1.114)
(http://anoncvs.postgresql.org/cvsweb...1.113&r2=1.114)
pgsql/src/include/utils:
catcache.h (r1.66 -> r1.67)
(http://anoncvs.postgresql.org/cvsweb...1=1.66&r2=1.67)
inval.h (r1.42 -> r1.43)
(http://anoncvs.postgresql.org/cvsweb...1=1.42&r2=1.43)
rel.h (r1.106 -> r1.107)
(http://anoncvs.postgresql.org/cvsweb...1.106&r2=1.107)
relcache.h (r1.61 -> r1.62)
(http://anoncvs.postgresql.org/cvsweb...1=1.61&r2=1.62)
tuplesort.h (r1.30 -> r1.31)
(http://anoncvs.postgresql.org/cvsweb...1=1.30&r2=1.31)

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com