On Thu, Mar 8, 2012 at 12:26 PM, Michael Shapiro <mshapir...@gmail.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.


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

Reply via email to