Re: Query tool margin

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Cc: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Query tool margin
Date: 2005-11-04 14:06:19
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3930@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de]
> Sent: 04 November 2005 14:03
> To: Dave Page
> Cc: pgadmin-hackers
> Subject: Re: Query tool margin
>
> Dave Page wrote:
> >
> >
> >
> >>-----Original Message-----
> >>From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de]
> >>Sent: 04 November 2005 13:48
> >>To: Dave Page
> >>Cc: pgadmin-hackers
> >>Subject: Re: Query tool margin
> >>
> >>Use ConvertDialogToPixels.
> >>I'm still not happy, do we really need this? 999 wouldn't be
> >>enough, I
> >>do have bigger scripts. Additionally, screenshots need to
> be updated.
> >
> >
> > I ran into the problem very recently when debugging some
> functions - the
> > backend helpfully told me where the problems were, but of
> course, I had
> > a script, not the function itself in the window that
> reported the error.
>
> The marker should show you the failing line, observing an offset if
> executed from a marked range; is that broken?

No, the function is not in the editor that reports the error, a script
that calls it is. The best we can do with the marker in this case is
mark the function call. The error from the backend tells me there is a
problem on line X of the marked function, which I then investigate in a
separate query window (with the create or replace function source).

Which do you prefer - margin or status bar? Running low on time...

:-)

/D

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-11-04 14:10:33 Re: Query tool margin
Previous Message Andreas Pflug 2005-11-04 14:03:18 Re: Query tool margin