Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMMHT-0007OM-7h for pgsql-jdbc@arkaria.postgresql.org; Wed, 28 Dec 2016 22:01:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cMMHR-0007Bx-QB for pgsql-jdbc@arkaria.postgresql.org; Wed, 28 Dec 2016 22:01:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cMMHQ-0007BW-Kb for pgsql-jdbc@postgresql.org; Wed, 28 Dec 2016 22:01:04 +0000 Received: from mail-vk0-x242.google.com ([2607:f8b0:400c:c05::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cMMHM-0004L8-7L for pgsql-jdbc@postgresql.org; Wed, 28 Dec 2016 22:01:03 +0000 Received: by mail-vk0-x242.google.com with SMTP id 19so9044740vko.3 for ; Wed, 28 Dec 2016 14:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:references:mime-version :content-transfer-encoding; bh=nDwGo+rHKHIxKH7FXRGmspaC2Ufbe4WdkR5X9AwMiM0=; b=h8N7if1PTVjYfeTSLFagOpKoT9ZmRcpwgxk7SPjwt8ExBibbqYWSKeOzN84dfrVxWm ixLBYLOPEkYTu14qNIEQBoyk7u4FhAMIRGyNxntheAjFznSaqLqzLB4kz6cq2I0znA9d Dfm5os/fsufCPpml8uevrAftxEpPiWqoIgHWgezUSeD1UNSizAoAmY5Tr0TLoJwtA1dX qM3d2rjPs96KMYXWOhUpgSxuTCIUcgC4hbkIHMXQWWYO0QvZX/TpmEw7JxCAZmT8noIQ ixnZq6je/OYElFSeiYhqEtAIrTpdsCRy6i3a4UV1ZNxHDb/XSU6zixhz2KZzZEmR6Y9u b0kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=nDwGo+rHKHIxKH7FXRGmspaC2Ufbe4WdkR5X9AwMiM0=; b=pGckmSBlPahKui7X+5t9h/javIHN9vdza+OGo73GPgozkoLoVoUyHxHJQNwWKToAaZ 2FNJrbj2U9Qq3CGG/Lr1ADFSVFEbLKUrTDWpBDgBW6CyGCRdSES1aikER+q/s5Zj1ZBS ViPbYxasLso5CY69aJe0lzqCgCes+6dSLrEuBfvjTulx9J+1ntlfNhG9rJbqsKrKZbET Rk291OO++cJIyNCjkdb6kfCULnOmGqBxzSbkFhmEQsmmE9v9F6q4fj8kFprymEB6TF9n ji8vAzw8lAU9MpV9+T6Rfpy+pxXAATp+mmbzGUpeq4fmXWfI22PFuidU8I0dcpC8UgXQ ZXDg== X-Gm-Message-State: AIkVDXKckibVm73UWEVxxNMBX+giFzneD9XgHduXXJ847f2gj8VFdnDUi9kGa3T0vfR0vQ== X-Received: by 10.31.3.78 with SMTP id 75mr14402534vkd.121.1482962458929; Wed, 28 Dec 2016 14:00:58 -0800 (PST) Received: from roblaptop ([2804:14d:baa0:8560:461e:a1ff:fe19:c7bd]) by smtp.gmail.com with ESMTPSA id f65sm14981527vkd.13.2016.12.28.14.00.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Dec 2016 14:00:58 -0800 (PST) Message-ID: <1482962453.3643.1.camel@gmail.com> Subject: Re: Questions on use From: rob stone To: Rich Shepard , pgsql-jdbc@postgresql.org Date: Thu, 29 Dec 2016 09:00:53 +1100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hello, On Wed, 2016-12-28 at 07:45 -0800, Rich Shepard wrote: >    PostgreSQL-9.6.1 and openjdk-8u91_b14 are installed on my > Slackware-14.1 > system and I am trying to use schemaSpy_5.0.0.jar on a couple of > databases. > I have downloaded postgresql-9.4.1212.jre6.jar but cannot get > schemaSpy to > run. > >    1) Is the -9.4.1212 version of the driver compatible with > postgres-9.6.1? > If not, is there a working alternative? > >    2) My databases are used by only me. All non-postgres-installed > databases > are owned by me so neither a username nor a password is required for > me to > access them. My login name is used by psql to allow me access. Is the > lack > of a password preventing the driver from functioning? If so, is there > a way > to inform it that no password is required here? > > TIA, > > Rich > > > Your application schemaSpy has to compose an URL (and optionally some properties may be set) that is compatible with postgresql.conf and pg_hba.conf. The usual URL is "IP Address:port number/database name". So the IP address is the same as what you have in pg_hba.conf and the port number as specified in the postgresql.conf being used by the relevant postmaster process. If you want to run different versions of Postgres they need to use unique port numbers for each version. HTH, Rob -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc