Re: Bug regarding SQL identifiers

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Bug regarding SQL identifiers
Дата
Msg-id 41DE9F86.3040502@pse-consulting.de
обсуждение исходный текст
Ответ на Bug regarding SQL identifiers  (Alexander Borkowski <alexander.borkowski@abri.une.edu.au>)
Список pgadmin-hackers
Alexander Borkowski wrote:
> Dear all,
>
> I tried to look at some tables created by another tool whose name starts
> with a number (e.g. 100_something) with pgAdmin III 1.2.0. Doing this
> raises a PostgreSQL syntax error. I traced the cause to the needsQuoting
> function in src/utils/misc.cpp. According to the PostgreSQL
> documentation SQL identifiers are to be quoted if they don't start with
> a-z or an underbar, in particular numbers as first characters are not
> allowed. Attached you will find a patch which fixes this.

Good catch, thanks for reporting. Fix applied to CVS

Regards,
Andreas

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

Предыдущее
От: cvs@developer.pgadmin.org
Дата:
Сообщение: CVS Commit by andreas: fix quoting identifiers starting with numbers
Следующее
От: cvs@developer.pgadmin.org
Дата:
Сообщение: CVS Commit by andreas: fix closing QueryTool if FindDlg still open