Error when editing char(n)[] cells

Поиск
Список
Период
Сортировка
От Nick Barnes
Тема Error when editing char(n)[] cells
Дата
Msg-id CAG+WGGm+EfRUXekepvyaa+ngiNMQhNTO_5_vaWk1s3c1BKAZrA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Error when editing char(n)[] cells  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Hi,

In the "View/Edit Data" grid, editing a char(n)[] or varchar(n)[] cell triggers a psycopg error: "argument formats can't be mixed". This seems to be the same issue reported in #4410.

Looks like the cause is a format() template which is using "%s" instead of "{}", leaving a literal "%s" in the generated SQL. Patch attached.

Cheers,
Nick
Вложения

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

Предыдущее
От: Ganesh Jaybhay
Дата:
Сообщение: Re: [pgAdmin4][RM#5107] Add tab navigation for buttons in filemanager dialogue
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: [pgAdmin][RM4993] [Accessibility] Read-only controls and disabledcontrols needs to be separately identified