Files
cartodb-postgresql/test
Rafa de la Torre a2723a3c90 Exclude certain columns from sync if instructed to do so
For the Geocoding (and in general for LDS use cases) it may come in
handy to exclude geometry columns from the list of stuff to
syncrhonize. Otherwise they may be lost, overwritten with NULL values.
2019-05-28 16:11:56 +02:00
..
2016-10-11 17:49:50 +02:00
2015-06-08 15:01:50 -04:00
2015-06-08 15:01:50 -04:00
2019-03-14 12:08:33 +01:00
2019-03-14 11:47:41 +01:00
2018-02-15 10:27:19 +01:00
2018-02-15 10:27:19 +01:00
2014-08-19 18:09:27 +02:00
2014-08-19 18:09:27 +02:00
2017-12-05 16:24:11 -05:00
2017-04-10 12:17:47 +02:00
2017-04-10 12:17:47 +02:00
2018-02-15 10:27:19 +01:00
2018-02-15 10:27:19 +01:00
2019-03-08 12:03:55 +01:00
2015-07-27 10:37:07 +02:00
2015-07-27 10:37:07 +02:00
2014-06-04 10:40:18 +02:00

Adding tests consists in adding 2 files in this directory: one file
containing the sql code and another containing the expected output.

Example, to add a test for CDB_Something function, you'd add:

 - CDB_SomethingTest.sql
 - CDB_SomethingTest_expect

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
off the first line:

 make -C .. installcheck
 tail -n +2 ../results/test/CDB_SomethingTest.out > CDB_SomethingTest_expect