Re: Query tool margin

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Query tool margin
Дата
Msg-id 436B6BD9.7030307@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Query tool margin  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgadmin-hackers
Dave Page wrote:
>
>
>
>>-----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).

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

Regards,
Andreas

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Query tool margin
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Query tool margin