Updated NEWS and tests README

This commit is contained in:
Mario de Frutos Dieguez 2019-07-04 17:53:11 +02:00
parent f55d789c41
commit 91c3b86d45
No known key found for this signature in database
GPG Key ID: C9738009A2E89223
2 changed files with 14 additions and 0 deletions

View File

@ -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) 0.28.1 (2019-07-04)
* Avoid temporary tables creation in CDB_SyncTable (#366) * Avoid temporary tables creation in CDB_SyncTable (#366)
* Make CDB_Get_Foreign_Updated_At robust to missing CDB_TableMetadata (#362) * Make CDB_Get_Foreign_Updated_At robust to missing CDB_TableMetadata (#362)

View File

@ -6,6 +6,14 @@ Example, to add a test for CDB_Something function, you'd add:
- CDB_SomethingTest.sql - CDB_SomethingTest.sql
- CDB_SomethingTest_expect - 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, 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 then run "make -C .. installcheck" from the top-level dir and copy
../results/test/CDB_SomethingTest.out to CDB_SomethingTest_expect chopping ../results/test/CDB_SomethingTest.out to CDB_SomethingTest_expect chopping