You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/07/01 05:40:36 UTC

incubator-ignite git commit: # ignite-843 Added load schema from postgres .

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 7850b0dd3 -> 4a0fd0331


# ignite-843 Added load schema from postgres .


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/4a0fd033
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/4a0fd033
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/4a0fd033

Branch: refs/heads/ignite-843
Commit: 4a0fd0331b8dc18814eaa93cb0152c1ab494bfc6
Parents: 7850b0d
Author: Andrey <an...@gridgain.com>
Authored: Wed Jul 1 10:41:10 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Wed Jul 1 10:41:10 2015 +0700

----------------------------------------------------------------------
 modules/webconfig/nodejs/routes/persistences.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4a0fd033/modules/webconfig/nodejs/routes/persistences.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/routes/persistences.js b/modules/webconfig/nodejs/routes/persistences.js
index b1dfdb7..409ff5f 100644
--- a/modules/webconfig/nodejs/routes/persistences.js
+++ b/modules/webconfig/nodejs/routes/persistences.js
@@ -295,7 +295,7 @@ router.post('/pg', function(req, res) {
                                     var valClsName = toJavaClassName(table.table_name);
 
                                     tables.push({
-                                        use: true,
+                                        use: pks.length > 0,
                                         schemaName: table.table_schema, tableName: table.table_name,
                                         keyClass: valClsName + 'Key', valueClass: valClsName,
                                         columns: cols