Re: Better handling of parse errors

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Better handling of parse errors
Date: 2002-08-06 12:39:18
Message-ID: Pine.LNX.4.21.0208062238280.17481-100000@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Tue, 6 Aug 2002, Bruce Momjian wrote:

>
> Can we see some sample output?

One other important one:

template1=# select
template1-# *
template1-#
template1-# frum
template1-# pg_class;
ERROR: parser: parse error at or near "frum" at character 10

Note that it counts non-printable characters. This could be both good and
bad.

Gavin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Gray 2002-08-06 13:02:22 Re: CVS sources doesn't compiles
Previous Message Gavin Sherry 2002-08-06 12:27:59 Re: Better handling of parse errors

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Lockhart 2002-08-06 14:46:20 Re: pg_stat_reset round 3
Previous Message Gavin Sherry 2002-08-06 12:27:59 Re: Better handling of parse errors