psqlmultiple times in a single shell script.
casedclient requests access on each invoking of a command-line program. For regular usage from the command-line, this is often preferable. However, for a better workflow with shell scripts, we recommend setting a
session approval durationto a number that users are not prompted to request access on each program invocation, and to avoid impacting any other prompt input your shell script may require.