Re: pgAdmin III: the debugger does not pre-populate default values for arguments

Поиск
Список
Период
Сортировка
От Nikhil S
Тема Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Дата
Msg-id AANLkTinmqmd4zuhqOuV6=f-enh=hYimTASx9vea4iv+K@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgAdmin III: the debugger does not pre-populate default values for arguments  (Dave Page <dpage@pgadmin.org>)
Ответы Re: pgAdmin III: the debugger does not pre-populate default values for arguments  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers

> Ok. One way that I can think of is that since we have the typeoids handily
> available, we can check the same and see if it is of stringlike type
> (PGOID_TYPE_CHAR, PGOID_TYPE_NAME, PGOID_TYPE_TEXT, etc..). If yes, then we
> retain the "", else we ignore it. Sounds reasonable?

Yes.


PFA, version 2 of this patch. We now check if the type of the argument is stringlike. If yes, we retain the "", else we default to nothing.

Regards,
Nikhils
Вложения

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Следующее
От: "pgAdmin Trac"
Дата:
Сообщение: [pgAdmin III] #308: view column defaults not displayed