OSDN Git Service

Remove pointless const qualifiers from function arguments in the SSI code.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 22 Jun 2011 09:18:39 +0000 (12:18 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 22 Jun 2011 09:18:39 +0000 (12:18 +0300)
commit5da417f7c4b2adb5b2aa4d6c86354f8de87dcde9
tree1884014c8826d04dd237dc4fe0412945db27d321
parent503c7305a1e379f95649eef1a694d0c1dbdc674a
Remove pointless const qualifiers from function arguments in the SSI code.
As Tom Lane pointed out, "const Relation foo" doesn't guarantee that you
can't modify the data the "foo" pointer points to. It just means that you
can't change the pointer to point to something else within the function,
which is not very useful.
src/backend/storage/lmgr/predicate.c
src/include/storage/predicate.h