Skip to content

Instantly share code, notes, and snippets.

@handuy
Last active September 16, 2018 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save handuy/0336c4e8952ae2ea0f74ce135c740ab1 to your computer and use it in GitHub Desktop.
Save handuy/0336c4e8952ae2ea0f74ce135c740ab1 to your computer and use it in GitHub Desktop.
Cú pháp chạy: psql -U postgres -f [tên_file]. Chạy file 3.sql ở citus_woker_1, 3_test.sql ở citus_master
DROP TABLE IF EXISTS series;
CREATE TABLE series (id int, description text);
SELECT create_reference_table('series');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment