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

From: Nikhil S <nixmisc(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
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 12:53:09
Message-ID: AANLkTinmqmd4zuhqOuV6=f-enh=hYimTASx9vea4iv+K@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Attachment Content-Type Size
pgadmin3_add_defvals_debugger_v2.0.patch text/x-diff 5.5 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2011-02-14 16:51:03 [pgAdmin III] #308: view column defaults not displayed
Previous Message Dave Page 2011-02-14 09:02:48 Re: pgAdmin III: the debugger does not pre-populate default values for arguments