[pgadmin-hackers] SVN Commit by hiroshi: r7554 - trunk/pgadmin3/pgadmin/frm

2009-01-14 Thread svn
Author: hiroshi Date: 2009-01-14 17:27:50 + (Wed, 14 Jan 2009) New Revision: 7554 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7554&view=rev Log: Fix display problem of dbname. Modified: trunk/pgadmin3/pgadmin/frm/frmQuery.cpp -- Sent via pgadmin-hackers mailing

[pgadmin-hackers] Graphical query builder's object tree problem.

2009-01-14 Thread Hiroshi Saito
Hi. I see a graphical query builder's problem. http://winpg.jp/~saito/pgAdmin/20090114_QB_1.png An object tree does not appear.:-( Then, click operation of the pane is begin view. http://winpg.jp/~saito/pgAdmin/20090114_QB_2.png Does someone work on this problem? Regards, Hiroshi Saito -

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Hiroshi Saito
Hi. While that would be nice to have, I still think it would make a lot of sense to be able to do it from pgAdmin as well. It's not at all uncommon to load things from say an access database or even an excel spreadsheet, and you don't necessarily want to have those on your db server... Yeah, I

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Magnus Hagander
Hiroshi Saito wrote: > Hi. > >> I don't quite understand why we would want to use ODBC in pgAdmin. One >> thing that makes pgAdmin great is its use of libpq. Can someone explain >> me why we should use ODBC ? > > I think that it will use when the Postgres itself has a linkserver > function. > Pro

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Hiroshi Saito
Hi. I don't quite understand why we would want to use ODBC in pgAdmin. One thing that makes pgAdmin great is its use of libpq. Can someone explain me why we should use ODBC ? I think that it will use when the Postgres itself has a linkserver function. Probably, it seems to be a SQLServer Manag

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Quan Zongliang
> Without using wxUSE_ODBC, I don't see that you'll be able to do this > nicely in a cross platform way. I suppose you could allow the user to > select the ODBC driver libraries (eg. psqlodbc.so) directly, but that > will mean that DSNs can't be used. Initially, my plan is only implement ODBC und

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Dave Page
On Wed, Jan 14, 2009 at 1:38 PM, Guillaume Lelarge wrote: > Dave Page a écrit : >> On Wed, Jan 14, 2009 at 1:21 PM, Guillaume Lelarge >> wrote: >> >>> I don't quite understand why we would want to use ODBC in pgAdmin. One >>> thing that makes pgAdmin great is its use of libpq. Can someone explain

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Magnus Hagander
Dave Page wrote: > On Wed, Jan 14, 2009 at 12:14 PM, Quan Zongliang > wrote: >> Hi All, >> >> The wxWidgets framework has some classes relative to ODBC: >> wxDb/wxDbTable and so on. >> Them is controlled by identifier wxUSE_ODBC. >> Default is 0, that is, don't compiling with wxWidgets. >> >> My i

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Guillaume Lelarge
Dave Page a écrit : > On Wed, Jan 14, 2009 at 1:21 PM, Guillaume Lelarge > wrote: > >> I don't quite understand why we would want to use ODBC in pgAdmin. One >> thing that makes pgAdmin great is its use of libpq. Can someone explain >> me why we should use ODBC ? > > To import data from diverse

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Dave Page
On Wed, Jan 14, 2009 at 1:21 PM, Guillaume Lelarge wrote: > I don't quite understand why we would want to use ODBC in pgAdmin. One > thing that makes pgAdmin great is its use of libpq. Can someone explain > me why we should use ODBC ? To import data from diverse data sources. -- Dave Page Ente

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Guillaume Lelarge
Dave Page a écrit : > On Wed, Jan 14, 2009 at 12:14 PM, Quan Zongliang > wrote: >> Hi All, >> >> The wxWidgets framework has some classes relative to ODBC: >> wxDb/wxDbTable and so on. >> Them is controlled by identifier wxUSE_ODBC. >> Default is 0, that is, don't compiling with wxWidgets. >> >> M

Re: [pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Dave Page
On Wed, Jan 14, 2009 at 12:14 PM, Quan Zongliang wrote: > Hi All, > > The wxWidgets framework has some classes relative to ODBC: > wxDb/wxDbTable and so on. > Them is controlled by identifier wxUSE_ODBC. > Default is 0, that is, don't compiling with wxWidgets. > > My idea is only support this func

[pgadmin-hackers] Import: about ODBC data source

2009-01-14 Thread Quan Zongliang
Hi All, The wxWidgets framework has some classes relative to ODBC: wxDb/wxDbTable and so on. Them is controlled by identifier wxUSE_ODBC. Default is 0, that is, don't compiling with wxWidgets. My idea is only support this function (import from ODBC) under MS-Windows using Microsoft API. Although

Re: [pgadmin-hackers] SVN Commit by dpage: r7552 - in trunk/pgadmin3/pgadmin: . ctl frm

2009-01-14 Thread Dave Page
On Wed, Jan 14, 2009 at 11:10 AM, Quan Zongliang wrote: > >> Modified: >>trunk/pgadmin3/pgadmin/ctl/ctlSQLBox.cpp > > > I got compile error: >...ctlsqlbox.cpp(567) : error C2653: 'wxSystemOptions' : is not a class or > namespace name >...ctlsqlbox.cpp(567) : error C3861: 'SetOption':

[pgadmin-hackers] SVN Commit by dpage: r7553 - in trunk/pgadmin3/pgadmin: ctl frm

2009-01-14 Thread svn
Author: dpage Date: 2009-01-14 11:45:37 + (Wed, 14 Jan 2009) New Revision: 7553 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7553&view=rev Log: Only use wxSystemOptions::SetOption on Mac where we actually need it. Modified: trunk/pgadmin3/pgadmin/ctl/ctlSQLBox.cpp

Re: [pgadmin-hackers] SVN Commit by dpage: r7552 - in trunk/pgadmin3/pgadmin: . ctl frm

2009-01-14 Thread Quan Zongliang
> Modified: >trunk/pgadmin3/pgadmin/ctl/ctlSQLBox.cpp I got compile error: ...ctlsqlbox.cpp(567) : error C2653: 'wxSystemOptions' : is not a class or namespace name ...ctlsqlbox.cpp(567) : error C3861: 'SetOption': identifier not found ...ctlsqlbox.cpp(575) : error C2653: 'wxSys

[pgadmin-hackers] SVN Commit by dpage: r7552 - in trunk/pgadmin3/pgadmin: . ctl frm

2009-01-14 Thread svn
Author: dpage Date: 2009-01-14 10:21:57 + (Wed, 14 Jan 2009) New Revision: 7552 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7552&view=rev Log: Add a hack to switch between the native and generic wxListCtrl on Mac. The native control has issues with multi-select when u

[pgadmin-hackers] SVN Commit by dpage: r7551 - trunk/pgadmin3/pgadmin/frm

2009-01-14 Thread svn
Author: dpage Date: 2009-01-14 10:13:29 + (Wed, 14 Jan 2009) New Revision: 7551 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7551&view=rev Log: Display a message if we can't display a hint. Modified: trunk/pgadmin3/pgadmin/frm/frmHint.cpp -- Sent via pgadmin-hac

[pgadmin-hackers] SVN Commit by dpage: r7550 - trunk/pgadmin3/pgadmin/frm

2009-01-14 Thread svn
Author: dpage Date: 2009-01-14 10:07:55 + (Wed, 14 Jan 2009) New Revision: 7550 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7550&view=rev Log: Prevent a crash occuring if the Hint menu option is selected on Mac at an inappropriate time. It seems that our attempts to d

Re: [pgadmin-hackers] Patch: database version check

2009-01-14 Thread Dave Page
On Wed, Jan 14, 2009 at 2:20 AM, Quan Zongliang wrote: > BTW: > With import function, some base class changed. > Two new methods: CanImport and CanExport added to pgObject class. > For pgTable, if it has column, both return true. If not, both return false. > For pgView, CanImport return false and

Re: [pgadmin-hackers] about new module to software

2009-01-14 Thread Dave Page
On Wed, Jan 14, 2009 at 1:22 AM, Quan Zongliang wrote: >> Yeah - I don't think that one is too difficult. There's more to it >> than you've shown of course - there's code to populate the lists and >> to setup the columns to use them for example. > > I mean we should reduce redundant code, reuse ex