]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:21:34 +0000 (12:21 +0300)
commitfbaa7a23e4d225f3422f5ede9897d49cb7ca3ff5
tree87176d010a293516ed84ad822aa3a04222f478f5
parent66370f5158f2bca02202376204bfccdfdafd2bd4
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