Обсуждение: character number

Поиск
Список
Период
Сортировка

character number

От
"Willy-Bas Loos"
Дата:
Hi,
I've noticed that the character number "Ch" in the status bar of the
query window has been changed to col -1 since version 1.6.2
Why is that? I liked the feature of the character position, and i
don't see the point in substracting 1 from a number i can see next to
it instead.
In some situations (don't know exactly which) postgresql will give
error messages with character numbers instead of line numbers.

WBL


Re: character number

От
Dave Page
Дата:
Willy-Bas Loos wrote:
> Hi,
> I've noticed that the character number "Ch" in the status bar of the
> query window has been changed to col -1 since version 1.6.2
> Why is that? I liked the feature of the character position, and i
> don't see the point in substracting 1 from a number i can see next to
> it instead.
> In some situations (don't know exactly which) postgresql will give
> error messages with character numbers instead of line numbers.

Yup, thats a bug that's crept in somehow. Fixed in SVN, thanks.

Regards, Dave