pgsql-server/src/bin/psql .cvsignore Makefile ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/bin/psql .cvsignore Makefile ...
Date: 2004-02-19 19:40:09
Message-ID: 20040219194009.0968AD1B4C5@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 04/02/19 15:40:09

Modified files:
src/bin/psql : .cvsignore Makefile command.c command.h
mainloop.c startup.c
Added files:
src/bin/psql : psqlscan.h psqlscan.l

Log message:
Re-implement psql's input scanning to use a flex-generated lexer, as per
recent discussion. The lexer is used for both SQL command text and
backslash commands. The purpose of this change is to make it easier to
track the behavior of the backend's SQL lexer --- essentially identical
flex rules are now used by psql. Also, this cleans up a lot of very
squirrelly code in mainloop.c and command.c. The flex code is somewhat
bulkier than the removed code, but should be lots easier to maintain.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-02-20 18:31:04 pgsql-server/doc/TODO.detail java
Previous Message Tom Lane 2004-02-19 19:11:30 pgsql-server/src/backend/parser scan.l