Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icwau-000467-Qe for pgsql-jdbc@arkaria.postgresql.org; Thu, 05 Dec 2019 19:15:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icwat-000186-EP for pgsql-jdbc@arkaria.postgresql.org; Thu, 05 Dec 2019 19:15:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icwat-00017n-21 for pgsql-jdbc@lists.postgresql.org; Thu, 05 Dec 2019 19:15:19 +0000 Received: from out-4.smtp.github.com ([192.30.252.195]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1icwaq-0006Sg-80 for pgsql-jdbc@lists.postgresql.org; Thu, 05 Dec 2019 19:15:17 +0000 Date: Thu, 05 Dec 2019 11:15:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1575573315; bh=WDL0mSMA7aCCMbpwNRJh/WpIGyFyVzEj128I5gDkyA8=; h=Date:From:To:Subject:From; b=oH1XcCWx0xtfehmlSwGyByA+I8R3oWW2W1Uv+0iZk3hdE8Gbyg9KH19s5lu3FSPH6 bSH92fuS21naQOVHvQt9Lzj2+IbNMDzssFAsGhR7wxup8JBrzhEwMI5Qh/PwaTGJ3w 6AR1OVbqLUGsOAknD/YeLY6FjAY5VNf21YC0BI/I= From: IvyDev0 To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 08bd46: fix: null pointer exception from PgResultSetMetaDa... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 08bd46bfccc9c9481650e4ee09c943ec78d77895 https://github.com/pgjdbc/pgjdbc/commit/08bd46bfccc9c9481650e4ee09c943ec78d77895 Author: IvyDev0 Date: 2019-12-05 (Thu, 05 Dec 2019) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSetMetaData.java A pgjdbc/src/test/java/org/postgresql/jdbc/NoColumnMetadataIssue1613.java Log Message: ----------- fix: null pointer exception from PgResultSetMetaData when there's no column metadata (#1615) * fix all possible NPE in PgResultSetMetaData when there's column metadata