sandbox-libpq/example1
dancingCycle de21aa2788 chore: refactor 2023-04-05 15:49:40 +02:00
..
main.c chore: cleanup 2023-01-05 12:30:44 +01:00
makefile feat: add example1 2023-01-05 12:14:20 +01:00
readme.md chore: refactor 2023-04-05 15:49:40 +02:00

readme.md

  • install dependencies on Debian Bullseye
sudo apt install libpq-dev --no-install-recommends
  • build
make
  • run
./main 'postgresql://<user>:<secret>@<host>:<port>/<database>'
  • or run
./main "host=<host> port=<port> user=<user> password=<<secret>> dbname=<database>"