If you use Deno Postgres or other Postgres clients to connect to your database instance from a Supabase Edge Function, those connections are now secured with SSL. You don't need to add any extra configurations to your client setup.
More details: https://supabase.com/docs/guides/functions/connect-to-postgres#ssl-connections