Loader 'target-postgres' could not be installed: failed to install plugin 'target-postgres'.
What is the current bug behavior?
What is happening now?
What is the expected correct behavior?
What should be happening?
Steps to reproduce
$ meltano add loader target-postgres
...
Loader 'target-postgres' could not be installed: failed to install plugin 'target-postgres'.
...
./psycopg/psycopg.h:36:10: fatal error: libpq-fe.h: No such file or directory
Relevant logs and/or screenshots
Please use code blocks (```) to format console output
Possible fixes
$ sudo apt install libpq-dev
$ meltano add loader target-postgres
...
Installed loader 'target-postgres'
...
Further regression test
Ensure we automatically catch similar issues in the future
-
Write additional adequate test cases and submit test results -
Test results should be reviewed by a person from the team
Edited by Geoff