This statement is throwing syntax errors:
CREATE TABLE IF NOT EXISTS "weChat_data_abc" LIKE "weChat_data_sample"
The table weChat_data_sample exists and is empty.
I get the error:
Error : ERROR: syntax error at or near "LIKE"
Output of SELECT VERSION():
PostgreSQL 9.4.4 on x86_64-apple-darwin14.4.0, compiled by Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn), 64-bit