summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-12-31 14:40:33 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-12-31 14:50:48 -0300
commite439c6f0c3ddc6e4b71922ec326cb796c2885656 (patch)
tree8364de3abffc7e81236e5fb57d1373637867e1dc /src/backend/access/gist/gist.c
parentb2edbbd02d3070c234225da7b2ec10298652658a (diff)
downloadpostgresql-e439c6f0c3ddc6e4b71922ec326cb796c2885656.tar.gz
Remove some useless code
In commit 8b08f7d4820f I added member relationId to IndexStmt struct. I'm now not sure why; DefineIndex doesn't need it, since the relation OID is passed as a separate argument anyway. Remove it. Also remove a redundant assignment to the relationId argument (it wasn't redundant when added by commit e093dcdd285, but should have been removed in commit 5f173040e3), and use relationId instead of stmt->relation when locking the relation in the second phase of CREATE INDEX CONCURRENTLY, which is not only confusing but it means we resolve the name twice for no reason.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions