Re: pgAdmin III: the debugger does not pre-populate default values for arguments - Mailing list pgadmin-hackers

From Dave Page
Subject Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Date
Msg-id AANLkTimMHrtibvTdaw_nRboXfct7UDTwK1pqgcAcXVgE@mail.gmail.com
Whole thread Raw
In response to Re: pgAdmin III: the debugger does not pre-populate default values for arguments  (Nikhil S <nixmisc@gmail.com>)
Responses Re: pgAdmin III: the debugger does not pre-populate default values for arguments
List pgadmin-hackers
Thanks - applied.

On Mon, Feb 14, 2011 at 12:53 PM, Nikhil S <nixmisc@gmail.com> wrote:
>
>> > 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
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Somehow forgot to commit this.
Next
From: Thom Brown
Date:
Subject: Re: pgAdmin III commit: Somehow forgot to commit this.