Re: [pgadmin-hackers] pgAdmin for Greenplum database?
On Tue, Mar 3, 2009 at 11:52 AM, Dave Page wrote: > On Fri, Feb 27, 2009 at 11:06 PM, Chuck McDevitt > wrote: >> The .cpp files > > I seem to be missing dlgExtTable.cpp - can you forward it ASAP please? I don't mean to be pushy, but I expect to cut the first beta early next week, and I'll need this prior to then if we're going to commit this patch. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] SVN Commit by dpage: r7643 - trunk/pgadmin3/pgadmin/dlg
Author: dpage Date: 2009-03-05 15:47:33 + (Thu, 05 Mar 2009) New Revision: 7643 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7643&view=rev Log: Fix syntax error in package creation. Modified: trunk/pgadmin3/pgadmin/dlg/dlgPackage.cpp -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] pgAdmin for Greenplum database?
Got it - thanks. Unless something unexpected fills my schedule, I expect to work on this tomorrow. On Thu, Mar 5, 2009 at 7:13 PM, Chuck McDevitt wrote: > Sorry... I thought this went out, but I had some e-mail issue. > >> -Original Message- >> From: Dave Page [mailto:dp...@pgadmin.org] >> Sent: Thursday, March 05, 2009 1:26 AM >> To: Chuck McDevitt >> Cc: pgadmin-hackers >> Subject: Re: pgAdmin for Greenplum database? >> >> On Tue, Mar 3, 2009 at 11:52 AM, Dave Page wrote: >> > On Fri, Feb 27, 2009 at 11:06 PM, Chuck McDevitt >> > wrote: >> >> The .cpp files >> > >> > I seem to be missing dlgExtTable.cpp - can you forward it ASAP >> please? >> >> I don't mean to be pushy, but I expect to cut the first beta early >> next week, and I'll need this prior to then if we're going to commit >> this patch. >> >> >> >> -- >> Dave Page >> EnterpriseDB UK: http://www.enterprisedb.com > -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] pgAdmin for Greenplum database?
Sorry... I thought this went out, but I had some e-mail issue. > -Original Message- > From: Dave Page [mailto:dp...@pgadmin.org] > Sent: Thursday, March 05, 2009 1:26 AM > To: Chuck McDevitt > Cc: pgadmin-hackers > Subject: Re: pgAdmin for Greenplum database? > > On Tue, Mar 3, 2009 at 11:52 AM, Dave Page wrote: > > On Fri, Feb 27, 2009 at 11:06 PM, Chuck McDevitt > > wrote: > >> The .cpp files > > > > I seem to be missing dlgExtTable.cpp - can you forward it ASAP > please? > > I don't mean to be pushy, but I expect to cut the first beta early > next week, and I'll need this prior to then if we're going to commit > this patch. > > > > -- > Dave Page > EnterpriseDB UK: http://www.enterprisedb.com // // // pgAdmin III - PostgreSQL Tools // RCS-ID: $Id: $ // Copyright (C) 2002 - 2009, The pgAdmin Development Team // This software is released under the Artistic Licence // // dlgExtTable.cpp - Greenplum Externtal Table Property // // // wxWindows headers #include // App headers #include "pgAdmin3.h" #include "utils/misc.h" #include "utils/pgDefs.h" #include "ctl/ctlSQLBox.h" #include "dlg/dlgExtTable.h" #include "schema/gpExtTable.h" #include "schema/pgSchema.h" // pointer to controls #define pnlDefinition CTRL_PANEL("pnlDefinition") #define txtSqlBox CTRL_SQLBOX("txtSqlBox") BEGIN_EVENT_TABLE(dlgExtTable, dlgSecurityProperty) EVT_STC_MODIFIED(XRCID("txtSqlBox"),dlgProperty::OnChangeStc) END_EVENT_TABLE(); dlgProperty *gpExtTableFactory::CreateDialog(frmMain *frame, pgObject *node, pgObject *parent) { return new dlgExtTable(this, frame, (gpExtTable*)node, (pgSchema*)parent); } dlgExtTable::dlgExtTable(pgaFactory *f, frmMain *frame, gpExtTable *node, pgSchema *sch) : dlgSecurityProperty(f, frame, node, wxT("dlgExtTable"), wxT("SELECT"), "r") { schema=sch; extTable=node; } pgObject *dlgExtTable::GetObject() { return extTable; } int dlgExtTable::Go(bool modal) { int returncode; AddGroups(); AddUsers(cbOwner); if (extTable) { // edit mode // TODO: Make this more like dlgTable, so that it is easier to use. // Right now, this is just dummy code until that code is written. txtSqlBox->SetText(wxT("")); } else { // create mode } returncode = dlgSecurityProperty::Go(modal); // This fixes a UI glitch on MacOS X and Windows // Because of the new layout code, the Privileges pane don't size itself properly SetSize(GetSize().GetWidth()+1, GetSize().GetHeight()); SetSize(GetSize().GetWidth()-1, GetSize().GetHeight()); return returncode; } pgObject *dlgExtTable::CreateObject(pgCollection *collection) { pgObject *obj=extTableFactory.CreateObjects(collection, 0, wxT("\n AND c.relname=") + qtDbString(txtName->GetValue()) + wxT("\n AND c.relnamespace=") + schema->GetOidStr()); return obj; } void dlgExtTable::CheckChange() { wxString name=GetName(); if (name) { if (extTable) EnableOK(txtComment->GetValue() != extTable->GetComment() || txtSqlBox->GetText() != oldDefinition || cbOwner->GetValue() != extTable->GetOwner() || name != extTable->GetName()); else EnableOK(!txtComment->GetValue().IsEmpty() || !txtSqlBox->GetText().IsEmpty() || !cbOwner->GetValue().IsEmpty()); } else { bool enable=true; CheckValid(enable, !name.IsEmpty(), _("Please specify name.")); CheckValid(enable, txtSqlBox->GetText().Length() > 14 , _("Please enter function definition.")); EnableOK(enable); } } wxString dlgExtTable::GetSql() { wxString sql, name=GetName(); if (extTable) { // edit mode if (name != extTable->GetName()) { sql += wxT("ALTER TABLE ") + extTable->GetQuotedFullIdentifier() + wxT(" RENAME TO ") + qtIdent(name) + wxT(";\n"); } } if (!extTable || txtSqlBox->GetText() != oldDefinition) { sql += wxT("CREATE EXTERNAL TABLE ") + schema->GetQuotedPrefix() + qtIdent(name) + wxT(" AS\n") + txtSqlBox->GetText() + wxT(";\n"); } if (extTable) AppendOwnerChange(sql, wxT("TABLE ") + schema->GetQuotedPrefix() + qtIdent(name)); else AppendOwnerNew(sql, wxT("TABLE ") + schema->GetQuotedPrefix() + qtIdent(name)); sql += GetGrant(wxT("r"), wxT("TABLE ") + schema->GetQuotedPrefix() + qtIdent(name)); AppendComment(sql, wxT("EXTERNAL TABLE"), schema, extTable); return sql; } bool dlgExtTable::IsUpToDate() { if (extTable && !extTable->IsUpToDate()) return false; else return true; } -- Sent via pgadmin-hackers mailing list (pgadmin-hacke
[pgadmin-hackers] SVN Commit by dpage: r7644 - trunk/www/development
Author: dpage Date: 2009-03-05 20:25:56 + (Thu, 05 Mar 2009) New Revision: 7644 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7644&view=rev Log: Retiring Adam. Modified: trunk/www/development/team.php -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] SVN Commit by dpage: r7645 - branches/REL-1_8_0_EDB/pgadmin3/docs/en_US
Author: dpage Date: 2009-03-05 20:30:59 + (Thu, 05 Mar 2009) New Revision: 7645 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7645&view=rev Log: Retiring Adam. Modified: branches/REL-1_8_0_EDB/pgadmin3/docs/en_US/team.html -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] SVN Commit by dpage: r7646 - branches/REL-1_6_0_PATCHES/pgadmin3/docs/en_US
Author: dpage Date: 2009-03-05 20:31:10 + (Thu, 05 Mar 2009) New Revision: 7646 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7646&view=rev Log: Retiring Adam. Modified: branches/REL-1_6_0_PATCHES/pgadmin3/docs/en_US/team.html -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] SVN Commit by dpage: r7647 - branches/REL-1_8_0_PATCHES/pgadmin3/docs/en_US
Author: dpage Date: 2009-03-05 20:31:19 + (Thu, 05 Mar 2009) New Revision: 7647 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7647&view=rev Log: Retiring Adam. Modified: branches/REL-1_8_0_PATCHES/pgadmin3/docs/en_US/team.html -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] SVN Commit by dpage: r7649 - trunk/www/development
Author: dpage Date: 2009-03-05 20:35:28 + (Thu, 05 Mar 2009) New Revision: 7649 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7649&view=rev Log: Fix some inconsistencies with the version in the docs. Modified: trunk/www/development/team.php -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
[pgadmin-hackers] SVN Commit by dpage: r7648 - trunk/pgadmin3/docs/en_US
Author: dpage Date: 2009-03-05 20:31:27 + (Thu, 05 Mar 2009) New Revision: 7648 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7648&view=rev Log: Retiring Adam. Modified: trunk/pgadmin3/docs/en_US/team.html -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers