I want to modify "pgConn::ExecuteSet"

From: Quan Zongliang <quanzongliang(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org(dot)
Subject: I want to modify "pgConn::ExecuteSet"
Date: 2009-02-05 11:08:09
Message-ID: 20090205195359.8F48.4125B4E5@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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-defined expression.
When generate preview, send the expression to DB to validate it.
If not quiet, a lot of error message will be poped.

-----------------------------------------------
Quan Zongliang
quanzongliang(at)gmail(dot)com
CIT Japan: http://www.cit.co.jp
CIT China: http://www.citbj.com.cn

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2009-02-05 11:25:48 SVN Commit by dpage: r7578 - trunk/pgadmin3/pgadmin/schema
Previous Message Diego Gil 2009-02-04 21:44:18 Re: