Add functionality to automatically determine filename.
Minor coding style fixes.
Applied code review feedback.
Merge pull request #27 from samay-sharma/master

Add functionality to automatically determine filename.
Added functionality to delete files automatically on DROP FOREIGN TABLE command.
Also, fixed issues "cstore_fdw should error out on create if it cannot access the
file" and "cstore_fdw should return empty table if no data has been loaded".
Applied code review feedback.
Merge pull request #29 from samay-sharma/master

(1) delete files on DROP FOREIGN TABLE (2) don't error out for empty tables.

(1) Previously when user dropped the foreign table, the data and footer files weren't deleted and user needed to delete them manually. This wasn't convenient and sometimes it caused problems in situations where user recreated a table schema but with the same filename. This commit fixes the issue by automatically deleting the files when user issues DROP FOREIGN TABLE.

(2) Previously user couldn't run queries on a table where no data was copied in. This was because data and footer files were missing. In this commit these files are created when the table is created, so this issue is fixed. This change also has a useful side-effect: if the filename is not writable, user gets an error when trying to create the table.

patch by @samay-sharma
tested by @samay-sharma and @pykello,
cr by @pykello
Fix cost estimation in CStoreGetForeignPaths.

Previously we also counted in standard attributes like tableoid, cmax, xmax, ... in CStoreGetForeignPaths, which resulted in under estimating the disk access cost. This change fixes that.
Implemented cstore_table_size.
Use RelationGetNumberOfAttributes to get number of columns in CStoreGetForeignPaths.
Applied Samay's code review feedback.
Merge remote-tracking branch 'origin/fix_cost_estimation' into develop
Added script from updating extension from v1.0 to v1.1. Also updated the version number at several other places in the code.
Added CREATE SERVER/DROP SERVER statements in update script.
This allows usage of automatically managed files with servers created with v1.0.
Merge pull request #34 from samay-sharma/develop

Updated version number and added script for updating the extension from v1.0 to v1.1
Updated README.md and TODO.md to reflect the changes in version 1.1.

* Updated the example,
* Added change set section,
* Added upgrade instructions,
* Added uninstall instructions,
* Added skip-index information.
Fixed (1) crashing when COPY TO, (2) dropping file_fdw files, (3) erroring when DROP IF EXISTS ...
Use badge directly from travis-ci.

The badge from shields.io wasn't displaying correctly.