Skip to content

Instantly share code, notes, and snippets.

@xinzweb
Last active June 25, 2018 07:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xinzweb/02150cae9939c47b5e48c39e1b723e34 to your computer and use it in GitHub Desktop.
Save xinzweb/02150cae9939c47b5e48c39e1b723e34 to your computer and use it in GitHub Desktop.
To just run one test in `pg_regress` under Greenplum

Usually, you only got one test failed, and you tried to rerun that failed test, and there are tables missing, or data didn't load right.

It's a tedious process to find all the dependencies, and I tried that to produce a known list of tests should run before you even try your repro.

This is the list of tests you need to run before your repro of failed tests based on 5.7.0 release:

./pg_regress --init-file=init_file int4 float8 create_function_1 create_type create_table create_function_2 copy create_misc create_aggregate create_operator create_cast polygon circle create_index create_view [your test here]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment