Re: Query tool margin

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

Dave Page wrote:
>
>
>
>>-----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).

The function editor already has the line number margin. I hate it,
reminds me of C64 BASIC...

Regards,
Andreas

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2005-11-04 14:11:29 Re: Query tool margin
Previous Message Dave Page 2005-11-04 14:06:19 Re: Query tool margin