diff --git a/NEWS.md b/NEWS.md index 7ddf483..7d43695 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +0.29.0 (2019-xx-xx) +* Added new function CDB_OAuth: + * Install event trigger to check for table/views creation + * Reassign the ownership of new tables to a defined role in the cdb_conf +* Changed MakeFile to support different expects for differents PG versions + 0.28.1 (2019-07-04) * Avoid temporary tables creation in CDB_SyncTable (#366) * Make CDB_Get_Foreign_Updated_At robust to missing CDB_TableMetadata (#362) diff --git a/test/README b/test/README index 6dcf328..9e630e5 100644 --- a/test/README +++ b/test/README @@ -6,6 +6,14 @@ Example, to add a test for CDB_Something function, you'd add: - CDB_SomethingTest.sql - CDB_SomethingTest_expect +In case you need multiple expects of a test for different versions you have +to add .pg$(VERSION) at the end of the file. + +For example if you want an expect file for PG11 you need to have two expect files: + + - CDB_SomethingTest_expect + - CDB_SomethingTest_expect.pg11 + To easy the generation of the expected file you can initially omit it, then run "make -C .. installcheck" from the top-level dir and copy ../results/test/CDB_SomethingTest.out to CDB_SomethingTest_expect chopping