aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-12 12:52:35 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-12 12:52:42 -0400
commit7a5f8b5c59033ac153963f98b9109be9529a824a (patch)
tree4b05c702846dfaeaee14e96e72b02af1771b2588 /src/backend/access/gist/gistvalidate.c
parent2201d801b03c2d1b0bce4d6580b718dc34d38b3e (diff)
downloadpostgresql-7a5f8b5c59033ac153963f98b9109be9529a824a.tar.gz
postgresql-7a5f8b5c59033ac153963f98b9109be9529a824a.zip
Improve coding of column-name parsing in psql's new crosstabview.c.
Coverity complained about this code, not without reason because it was rather messy. Adjust it to not scribble on the passed string; that adds one malloc/free cycle per column name, which is going to be insignificant in context. We can actually const-ify both the string argument and the PGresult. Daniel Verité, with some further cleanup by me
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions