Re: Query tool margin - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Query tool margin
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3930@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Query tool margin  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: Query tool margin
List pgadmin-hackers

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.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@pse-consulting.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

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: Query tool margin
Next
From: Andreas Pflug
Date:
Subject: Re: Query tool margin