Skip site navigation (1) Skip section navigation (2)

Re: feature request

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Michael Shapiro <mshapiro51(at)gmail(dot)com>
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, UNTERRAINER(dot)Guenther(at)leitwind(dot)com, PgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: feature request
Date: 2012-03-08 12:43:27
Message-ID: CA+OCxoyXdFMAdF2PfvQ9ojSO2vE_sts9=0_Q4aOKyozGQb+Cmw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-support
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.


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

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

In response to

Responses

pgadmin-support by date

Next:From: Guillaume LelargeDate: 2012-03-08 13:18:00
Subject: Re: feature request
Previous:From: Michael ShapiroDate: 2012-03-08 12:26:26
Subject: Re: feature request

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group