On Thu, Jan 21, 2010 at 12:53 PM, Pavel Stehule <pavel.steh...@gmail.com> wrote: > add to state structure field like lexer_error. This field will be > checked before execution > it could be ugly for metacommands, there will be lot of new checks :(
Eh? The only places where we should need new tests are the places that check PQExpBufferBroken() now - there are only 6 calls to that function in src/bin/psql and not all of them need to be changed. The places that do need to be changed will need to be modified to check PQExpBufferBroken() || lexer_coughed_up_a_lung. It should be possible to do this pretty simply, I think. ...Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers