Date Dev Ver Change details
---------- --- ------ --------------
+2009-10-08 DP 1.10.1 Fix Greenplum support for column oriented partitions
+ [Chuck McDevitt]
2009-10-05 DP 1.10.1 Ensure function variables get reset if the function is
modified, per Dmitry Samokhin.
2009-10-01 DP 1.10.1 Fix cluster creation for Slony 2.0 [Sachin Srivastava]
void iSetAppendOnly(const wxString& s) { appendOnly = s; }
wxString GetCompressLevel() { return compressLevel; }
void iSetCompressLevel(const wxString& s) { compressLevel = s; }
- wxString GetIsColumnStore() { return columnstore; }
- void iSetIsColumnStore(const wxString& s) { columnstore = s; }
+ wxString GetOrientation() { return orientation; }
+ void iSetOrientation(const wxString& s) { orientation = s; }
wxString GetCompressType() { return compresstype; }
void iSetCompressType(const wxString& s) { compresstype = s; };
wxString GetBlocksize() { return blocksize; }
autovacuum_freeze_max_age, autovacuum_freeze_table_age;
wxString appendOnly;
wxString compressLevel;
- wxString columnstore;
+ wxString orientation; // "row" or "column"
wxString compresstype;
wxString blocksize;
wxString checksum;
query += wxT(", gpd.localoid, gpd.attrnums \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'appendonly=([a-z]*)') AS appendonly \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'compresslevel=([0-9]*)') AS compresslevel \n");
- query += wxT(", substring(array_to_string(reloptions, ',') from 'columnstore=([a-z]*)') AS columnstore \n");
+ query += wxT(", substring(array_to_string(reloptions, ',') from 'orientation=([a-z]*)') AS orientation \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'compresstype=([a-z0-9]*)') AS compresstype \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'blocksize=([0-9]*)') AS blocksize \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'checksum=([a-z]*)') AS checksum \n");
table->iSetDistributionIsRandom();
table->iSetAppendOnly(tables->GetVal(wxT("appendonly")));
table->iSetCompressLevel(tables->GetVal(wxT("compresslevel")));
- table->iSetIsColumnStore(tables->GetVal(wxT("columnstore")));
+ table->iSetOrientation(tables->GetVal(wxT("orientation")));
table->iSetCompressType(tables->GetVal(wxT("compresstype")));
table->iSetBlocksize(tables->GetVal(wxT("blocksize")));
table->iSetChecksum(tables->GetVal(wxT("checksum")));
sql += wxT("APPENDONLY=") + GetAppendOnly() + wxT(", ");
if (GetCompressLevel().Length() > 0)
sql += wxT("COMPRESSLEVEL=") + GetCompressLevel() + wxT(", ");
- if (GetIsColumnStore().Length() > 0)
- sql += wxT("COLUMNSTORE=") + GetIsColumnStore() + wxT(", ");
+ if (GetOrientation().Length() > 0)
+ sql += wxT("ORIENTATION=") + GetOrientation() + wxT(", ");
if (GetCompressType().Length() > 0)
sql += wxT("COMPRESSTYPE=") + GetCompressType() + wxT(", ");
if (GetBlocksize().Length() > 0)
query += wxT(", gpd.localoid, gpd.attrnums \n");
query += wxT(", substring(array_to_string(rel.reloptions, ',') from 'appendonly=([a-z]*)') AS appendonly \n");
query += wxT(", substring(array_to_string(rel.reloptions, ',') from 'compresslevel=([0-9]*)') AS compresslevel \n");
- query += wxT(", substring(array_to_string(rel.reloptions, ',') from 'columnstore=([a-z]*)') AS columnstore \n");
+ query += wxT(", substring(array_to_string(rel.reloptions, ',') from 'orientation=([a-z]*)') AS orientation \n");
query += wxT(", substring(array_to_string(rel.reloptions, ',') from 'compresstype=([a-z0-9]*)') AS compresstype \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'blocksize=([0-9]*)') AS blocksize \n");
query += wxT(", substring(array_to_string(reloptions, ',') from 'checksum=([a-z]*)') AS checksum \n");
table->iSetDistributionIsRandom();
table->iSetAppendOnly(tables->GetVal(wxT("appendonly")));
table->iSetCompressLevel(tables->GetVal(wxT("compresslevel")));
- table->iSetIsColumnStore(tables->GetVal(wxT("columnstore")));
+ table->iSetOrientation(tables->GetVal(wxT("orientation")));
table->iSetCompressType(tables->GetVal(wxT("compresstype")));
table->iSetBlocksize(tables->GetVal(wxT("blocksize")));
table->iSetChecksum(tables->GetVal(wxT("checksum")));