Thread: pgsql/src/bin/psql mainloop.c

pgsql/src/bin/psql mainloop.c

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/07/03 12:47:46

Modified files:
    src/bin/psql   : mainloop.c

Log message:
    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.