Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Fix ElephantSQL support
Browse files Browse the repository at this point in the history
  • Loading branch information
kalambet committed Dec 31, 2015
1 parent 22c3149 commit 6682670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/data/utils/clients/pg.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ doRawFlattenAndPluck = function doRaw(query, name) {

getTables = function getTables() {
return doRawFlattenAndPluck(
'SELECT table_name FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA()', 'table_name'
'SELECT table_name FROM information_schema.tables WHERE table_schema = CURRENT_SCHEMA() and table_name not like \'pg_%\' and table_name not like \'raster_%\' and table_name not like \'%_columns\' and table_name not like \'spatial_ref_sys\'', 'table_name'
);
};

Expand Down

0 comments on commit 6682670

Please sign in to comment.