pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sehrope Sarkuni <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 42d6bf: Fix metadata test to use explicit PK/FK names (#1442)
Date: Sat, 16 Mar 2019 10:52:06 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/35df0d-42d6bf@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 42d6bfa51929a333c3d2d8c098997a9f01514eac
      https://github.com/pgjdbc/pgjdbc/commit/42d6bfa51929a333c3d2d8c098997a9f01514eac
  Author: Sehrope Sarkuni <sehrope@jackdb.com>
  Date:   2019-03-16 (Sat, 16 Mar 2019)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java

  Log Message:
  -----------
  Fix metadata test to use explicit PK/FK names (#1442)

Changes testCrossReference() to validate the retrieved primary and foreign key columns
against their expected values. Previously it would have accepted them in either order or
the same value repeated twice for each.

Also checks to ensure that the expected number of rows are actually returned. Previously
it would have skipped all the checks if no rows were returned.






Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/35df0d-42d6bf@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F35df0d-42d6bf@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/35df0d-42d6bf@github.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] 42d6bf: Fix metadata test to use explicit PK/FK names (#1442)
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/35df0d-42d6bf@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/35df0d-42d6bf@github.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox