From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | Michael Shapiro <mshapiro51(at)gmail(dot)com>, UNTERRAINER(dot)Guenther(at)leitwind(dot)com, PgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: feature request |
Date: | 2012-03-08 13:18:00 |
Message-ID: | 1331212680.2322.8.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
On Thu, 2012-03-08 at 12:43 +0000, Dave Page wrote:
> On Thu, Mar 8, 2012 at 12:26 PM, Michael Shapiro <mshapiro51(at)gmail(dot)com> wrote:
> > SInce postgres would require a semi-colon between stmts, you could use that
> > fact to determine where a stamt starts and where it ends (even for the case
> > when the last stmt doesn't have one)
>
> What if there's a semi colon in a comment, string, anonymous block or
> stored procedure? We need a parser to deal with that, not just a
> simple split on semi colons.
>
>
Agreed. It's really not a simple task.
--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Shapiro | 2012-03-08 14:20:02 | Re: feature request |
Previous Message | Dave Page | 2012-03-08 12:43:27 | Re: feature request |