services-flake
services-flake copied to clipboard
Postgres: unify psql command execution in setup-script
@adrian-gierakowski I think it would be nicer if there is one function that executes psql commands so that we don't accidentally add a psql command in the future that doesn't use psqlUserArg. That can be done in a different PR, merging this.
Originally posted by @shivaraj-bh in https://github.com/juspay/services-flake/pull/106#issuecomment-1957537267
Sure, should it be a psql wrapper, or simply a bash snippet we can interpolate into the script?
or simply a bash snippet we can interpolate into the script
This sounds good!