When using postgresjs in Deno without the --allow-env flag, I get this error:
NotCapable: Requires env access to "PGAPPNAME", run again with the --allow-env flag
This happens even though I pass the appname or application_name option explicitly in the connection parameters.
It seems the library reads the PGAPPNAME environment variable before applying the connection options, forcing Deno to require --allow-env permission.