OSDN Git Service

Fix some more boundary-case errors in psql variable substitution:
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jul 2002 16:47:46 +0000 (16:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Jul 2002 16:47:46 +0000 (16:47 +0000)
commit08a46ad4f688a1244eddb6f85f94283ec5b59a0a
tree6df3f42742db2c4e6032cc6502077461186484a5
parentc3c54a21b67efbbf503eb30b5b1f241362e0d20d
Fix some more boundary-case errors in psql variable substitution:
wasn't really right for case where :var is at the end of the line,
was definitely not right if var expanded to empty in that case,
and failed to recalculate thislen before jumping back to rescan.
src/bin/psql/mainloop.c