diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index cf60c4e82f3e05df1769803722c15ce2f08888bc..f6366bef8aabd9b7f2a4dc83d6e92d8c8caa4446 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -1,3 +1,13 @@
+# v4.NEXT
+
+## Summary
+### Features
+- cta/CTA#146 - Refactoring of operation tools cmd line parsing
+### Building and Packaging
+- cta/CTA#107 - Check latest version of gtest suite
+### Bug fixes 
+- cta/CTA#161 - Fix bug when using temporary tables with PostgreSQL
+
 # v4.7.12-1
 
 ## Summary
diff --git a/rdbms/wrapper/PostgresConn.cpp b/rdbms/wrapper/PostgresConn.cpp
index e8e3f11e9a21fc2a5e5ade720d4d716d9740b5d3..8f15dcd3a27055d66a220b6d49b653f01134fef9 100644
--- a/rdbms/wrapper/PostgresConn.cpp
+++ b/rdbms/wrapper/PostgresConn.cpp
@@ -254,10 +254,14 @@ std::list<std::string> PostgresConn::getTableNames() {
     }
 
     Postgres::Result res(PQexec(m_pgsqlConn,
-       "SELECT c.tablename AS TABLE_NAME FROM pg_catalog.pg_tables c "
-         "WHERE c.schemaname NOT IN ('pg_catalog', 'information_schema') "
-         "ORDER BY TABLE_NAME"
-       ));
+      "SELECT "
+        "tablename "
+      "FROM "
+        "pg_catalog.pg_tables "
+      "WHERE "
+        "pg_catalog.pg_tables.schemaname = current_schema() "
+      "ORDER BY tablename"
+    ));
 
     throwDBIfNotStatus(res.get(), PGRES_TUPLES_OK, "Listing table names in the DB");