Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3EyN-0006WW-PX for pgsql-general@arkaria.postgresql.org; Sat, 23 Jan 2021 09:12:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l3EyL-0005TP-7M for pgsql-general@arkaria.postgresql.org; Sat, 23 Jan 2021 09:12:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3EyK-0005TH-Td for pgsql-general@lists.postgresql.org; Sat, 23 Jan 2021 09:12:44 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l3EyE-0003bR-Ab for pgsql-general@lists.postgresql.org; Sat, 23 Jan 2021 09:12:43 +0000 Received: by mail-wm1-x332.google.com with SMTP id j18so6263240wmi.3 for ; Sat, 23 Jan 2021 01:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ByAFwh+z1VstHAe54NAHXogyUHOWbNiWlhmrRIAorU0=; b=NBriUORmukqR/z4nc/WL6vKI4Gvq3yQs/s+B15rw6xqvgkEUQmnXZlRbOqIaGJoTNT t0+6gcdwJQBMMsJeXyD0VMyscQkqMuGJIzYQ8YFwsgGIevpBnbAfbS8e+Opk5mmjNuHP dBHpyiMtKZdmR90wZHrydz4Hf/s/zvtdwl6BSQ1guWeAjBpcNR6utK9Q6+nkaHgmwgnR lYUw6Lik8NcTmZsCmfCtbnTQoS+fKWg+4DGmc1rgrud7YqADxSQC8HFh+it7/fqX9HR+ WnFVXo2hRivBmuEEIemtIy3szeKue3bspmvTU3U7vGE+xgioFB/dL+bHTZhAGEZ4Jvcv RZBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ByAFwh+z1VstHAe54NAHXogyUHOWbNiWlhmrRIAorU0=; b=CkbCVcXKpjXAswRnJLY9Yh40BfFB+85p5vHHx3Fs2GxxZo03erN+yOU+ibQ1VV+OBE NzFeuS1OixdUbdNWg7jXy1TMS4UdMuQp2UdxJCzBHO5W72djrfi9WWPcq2jmSbs7uZb5 gU06/bWkfr6X1kE9qoLCyGe7c+O1ez7S8QOiw4/Rn5ku9pPxkfR6aqrqjxqLWG8j3jJZ edLJvFeqyWlKRSHQ/S+wgw3f694wWWt99KoOKG9BWJdKp0mjrfPsFzU4yMkM12qLQKFI cZD5+JfOEaKTggqEmTXLrMopkUJtGxj8jCIJ0OUt9AgJUGwsBYcvG7p53wF68jPlcxAi Tjvg== X-Gm-Message-State: AOAM532mvZZHCQqG5Mm+3aumai3o2Et64GQ50QHMlq1PzxL2a6E9w1C5 Qt9SjJdJUVa2B5cOd62bG+0= X-Google-Smtp-Source: ABdhPJyQ5qYNDj9D94G91cjdfI8grMiMo2j+T4VKgpuA02FDrpn7f/XYE4/EZ9CSUR/F1YOLDRPZjw== X-Received: by 2002:a1c:3c04:: with SMTP id j4mr7515097wma.147.1611393155979; Sat, 23 Jan 2021 01:12:35 -0800 (PST) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id o14sm13661122wmc.28.2021.01.23.01.12.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jan 2021 01:12:35 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: localhost ssl From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <9dbb446b-8060-b571-8556-e17e76fcc399@gmail.com> Date: Sat, 23 Jan 2021 10:12:35 +0100 Cc: Adrian Klaver , "pgsql-generallists.postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <772161BF-9086-496E-829A-9401506F3137@gmail.com> References: <1ca17e3b-14de-69ff-5f0b-4082376571ca@aklaver.com> <73ae4494-3b65-6ecd-b610-9a9ac5c9cce1@gmail.com> <5f8db865-2f0e-6764-f2f0-b344feb42368@aklaver.com> <2f653f6c-5f27-13fd-49be-90845a45ef43@gmail.com> <4665f2de-d2a2-4623-8c61-0f42c899e8a3@aklaver.com> <8d6c56b4-ec30-bae9-c570-a80df9955582@aklaver.com> <9dbb446b-8060-b571-8556-e17e76fcc399@gmail.com> To: Rob Sargent X-Mailer: Apple Mail (2.3654.40.0.2.32) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Rob, > On 23. Jan, 2021, at 00:02, Rob Sargent wrote: >=20 > I only wish I could set a default database as well, but IMHO that's a = failing of JDBC as much as postgres. you can't for a role or a user. You'd have to specify the database in = the jdbc connection string. It's all here: https://jdbc.postgresql.org/documentation/head/connect.html You must include a database name, and optionally a role to connect to, = in the jdbc connection string. Cheers, Paul=