[pgadmin-hackers] Import: I need help

2009-02-12 Thread Quan Zongliang
Hi, all I haven't any experience with libpq. So there are a lot of questions. When import to db using INSERT statement. Like this: res = PQexec(m_conn->connection(), "BEGIN"); LOOP: res = PQexec(m_conn->connection(), "INSERT INTO ..."); res = PQexec(m_conn->connection(), "COMMIT"); If an

Re: [pgadmin-hackers] Server Status window work

2009-02-12 Thread Guillaume Lelarge
Dave Page a écrit : > On Thu, Feb 12, 2009 at 4:26 PM, Guillaume Lelarge > wrote: > >> So, we keep the wxAuiManager and add panes. I'm not sure if the result >> will be really interesting. But I don't think it is much work to do. >> I'll work on it right now. > > Thats what I figured. Just stick

Re: [pgadmin-hackers] Server Status window work

2009-02-12 Thread Dave Page
On Thu, Feb 12, 2009 at 4:26 PM, Guillaume Lelarge wrote: > So, we keep the wxAuiManager and add panes. I'm not sure if the result > will be really interesting. But I don't think it is much work to do. > I'll work on it right now. Thats what I figured. Just stick everything on a pane instead of

Re: [pgadmin-hackers] Server Status window work

2009-02-12 Thread Guillaume Lelarge
Dave Page a écrit : > Sorry - things got hectic again. > Yeah, don't worry about this. I sent this mail because of the small delay we still have. > On Tue, Feb 10, 2009 at 8:33 PM, Guillaume Lelarge > wrote: >> I understand, and I agree with you. The application can split a >> wxAuiNotebook (wi

Re: [pgadmin-hackers] Server Status window work

2009-02-12 Thread Dave Page
Sorry - things got hectic again. On Tue, Feb 10, 2009 at 8:33 PM, Guillaume Lelarge wrote: > I understand, and I agree with you. The application can split a > wxAuiNotebook (with the Split() method). Unfortunately, we can't change > its size, position, and contents. I'm afraid this widget won't a

Re: [pgadmin-hackers] Server Status window work

2009-02-12 Thread Guillaume Lelarge
Guillaume Lelarge a écrit : > [...] >>> On the second one, if we try to remember the tab layout (not difficult), >>> do we also need to remember the pane layout? much more difficult. >> We should certainly record and restore the perspective (as we seem to >> be), but it doesn't appear to be doing a