aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-12-11 14:17:46 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2010-12-11 14:17:46 -0500
commit3864afa1d1478f7a76fde1ea160a7bc8f5d5b203 (patch)
tree6e37227d955beb2b6646a2b6bf9cb379ef70754c /src/backend/access/gist/gist.c
parent1319002e2ee166c06b38cdbc5e8508c7205fa115 (diff)
downloadpostgresql-3864afa1d1478f7a76fde1ea160a7bc8f5d5b203.tar.gz
postgresql-3864afa1d1478f7a76fde1ea160a7bc8f5d5b203.zip
Clean up some copied-and-pasted code in pg_upgrade.
1. Don't reimplement S_ISDIR() and S_ISREG() badly. 2. Don't reimplement access() badly. This code appears to have been copied from ancient versions of the corresponding backend routines, and not patched to incorporate subsequent fixes (see my commits of 2008-03-31 and 2010-01-14 respectively). It might be a good idea to change it to just *call* those routines, but for now I'll just transpose these fixes over.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions