Re: BUG #16726: Invalid input syntax is not a useful error message

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #16726: Invalid input syntax is not a useful error message
Дата
Msg-id CAKFQuwaAMEoAZK8fj2F1WDFjB=VL6qt50_0dnKR8rx6NvtG2RQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #16726: Invalid input syntax is not a useful error message  (Christophe Pettus <xof@thebuild.com>)
Список pgsql-bugs
On Wed, Nov 18, 2020 at 5:20 PM Christophe Pettus <xof@thebuild.com> wrote:
> 123e4567-e89b-12d3-a456-426614174000
> xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx

The error message is exactly correct: You did not give the correct format for the character representation of the UUID.


I wouldn't oppose a "Hint: expected length is 32 hex characters but the input only has 28."

UUIDs aren't exactly friendly to the eyes, even hyphenated.

David J.

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

Предыдущее
От: Christophe Pettus
Дата:
Сообщение: Re: BUG #16726: Invalid input syntax is not a useful error message
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #16726: Invalid input syntax is not a useful error message