aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2014-09-26 12:46:26 -0400
committerStephen Frost <sfrost@snowman.net>2014-09-26 12:46:26 -0400
commitff27fcfa0affe16405e801ed55fed10e7bc75216 (patch)
treec5b2ae84766167640cc427217249839695da1a71 /src/backend/utils/adt/json.c
parent07d46a8963ebbf69ef6e6853bb8a45623612dd34 (diff)
downloadpostgresql-ff27fcfa0affe16405e801ed55fed10e7bc75216.tar.gz
postgresql-ff27fcfa0affe16405e801ed55fed10e7bc75216.zip
Fix relcache for policies, and doc updates
Andres pointed out that there was an extra ';' in equalPolicies, which made me realize that my prior testing with CLOBBER_CACHE_ALWAYS was insufficient (it didn't always catch the issue, just most of the time). Thanks to that, a different issue was discovered, specifically in equalRSDescs. This change corrects eqaulRSDescs to return 'true' once all policies have been confirmed logically identical. After stepping through both functions to ensure correct behavior, I ran this for about 12 hours of CLOBBER_CACHE_ALWAYS runs of the regression tests with no failures. In addition, correct a few typos in the documentation which were pointed out by Thom Brown (thanks!) and improve the policy documentation further by adding a flushed out usage example based on a unix passwd file. Lastly, clean up a few comments in the regression tests and pg_dump.h.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions