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

From Nikhil S
Subject Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Date
Msg-id AANLkTinmqmd4zuhqOuV6=f-enh=hYimTASx9vea4iv+K@mail.gmail.com
Whole thread Raw
In response to Re: pgAdmin III: the debugger does not pre-populate default values for arguments  (Dave Page <dpage@pgadmin.org>)
Responses Re: pgAdmin III: the debugger does not pre-populate default values for arguments
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgAdmin III: the debugger does not pre-populate default values for arguments
Next
From: "pgAdmin Trac"
Date:
Subject: [pgAdmin III] #308: view column defaults not displayed