Re: [pgadmin-hackers] I want to modify "pgConn::ExecuteSet"

2009-02-05 Thread Quan Zongliang
> OK - well I'm happy for you to modify ExecuteSet if that's what you > need - but please try to use a similar API to the existing ExecuteVoid > one. Ok. It will be: pgSet *ExecuteSet(const wxString& sql, bool reportError = true); --- Quan Zongliang

Re: [pgadmin-hackers] I want to modify "pgConn::ExecuteSet"

2009-02-05 Thread Dave Page
On Thu, Feb 5, 2009 at 11:34 AM, Quan Zongliang wrote: >> Do you need to use ExecuteSet for this? ExecuteVoid already has a >> reportError flag which can be used to stop it logging error messages. > The result is needed to be displayed. OK - well I'm happy for you to modify ExecuteSet if that's w

Re: [pgadmin-hackers] I want to modify "pgConn::ExecuteSet"

2009-02-05 Thread Quan Zongliang
> Do you need to use ExecuteSet for this? ExecuteVoid already has a > reportError flag which can be used to stop it logging error messages. The result is needed to be displayed. --- Quan Zongliang quanzongli...@gmail.com CIT Japan: http://www.cit.co.jp

Re: [pgadmin-hackers] I want to modify "pgConn::ExecuteSet"

2009-02-05 Thread Dave Page
On Thu, Feb 5, 2009 at 11:08 AM, Quan Zongliang wrote: > Hi, all > > Now, in pgConn class, the definition is: > pgSet *pgConn::ExecuteSet(const wxString& sql) > > I want to modify it to new definition: > pgSet *pgConn::ExecuteSet(const wxString& sql, bool quiet = false) > > When quiet is true, don

[pgadmin-hackers] I want to modify "pgConn::ExecuteSet"

2009-02-05 Thread Quan Zongliang
Hi, all Now, in pgConn class, the definition is: pgSet *pgConn::ExecuteSet(const wxString& sql) I want to modify it to new definition: pgSet *pgConn::ExecuteSet(const wxString& sql, bool quiet = false) When quiet is true, don't pop error message. Because in import function, it allows user-defin