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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Nikhil S <nixmisc(at)gmail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Date: 2011-02-14 09:02:48
Message-ID: AANLkTi=Q+HXRRAjJJ=Cc1HtM7KVxvp=AXzL0ei0QS7DS@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Mon, Feb 14, 2011 at 3:53 AM, Nikhil S <nixmisc(at)gmail(dot)com> wrote:
> Hi,
>
>> > But I guess you mean, we should find a solution more on the pgadmin side
>> > instead of tinkering with the backend?
>>
>> Yes.
>>
>
> 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.

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

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Nikhil S 2011-02-14 12:53:09 Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Previous Message Nikhil S 2011-02-14 08:53:53 Re: pgAdmin III: the debugger does not pre-populate default values for arguments