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)


On Thu, Mar 8, 2012 at 3:42 AM, Guillaume Lelarge <guilla...@lelarge.info>wrote:

>
> On Thu, 2012-03-08 at 09:35 +0100, unterrainer.guent...@leitwind.com
> wrote:
> > A suggestion to this request:
> > I was used to work with TOAD on Oracle and there when you had more
> > statements in the editor (what you usually have),
> > when you executed then automatically only the statement where you had
> > the cursor on was executed. Very useful.
> >
>
> You can already to that by selecting the query you want to execute.
> People ask that we add a new way to execute queries so that it executes
> the query where your cursor is but it is really difficult to do (where
> does your query start, and where does it stop? one possible answer would
> be to execute the line, but I have various examples showing it doesn't
> seem such a good idea).
>
>

Reply via email to