Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: pgadmin3_add_defvals_debugger_v2.0.patch
Description: text/x-diff (5.5 KB)

In response to

Responses

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group