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 1kNfTJ-0000Sr-79 for pgsql-jdbc@arkaria.postgresql.org; Wed, 30 Sep 2020 17:00:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kNfTG-0005WT-D6 for pgsql-jdbc@arkaria.postgresql.org; Wed, 30 Sep 2020 17:00:50 +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 1kNfTG-0005WM-6Z for pgsql-jdbc@lists.postgresql.org; Wed, 30 Sep 2020 17:00:50 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNfTE-00047r-2n for pgsql-jdbc@lists.postgresql.org; Wed, 30 Sep 2020 17:00:49 +0000 Received: from github.com (hubbernetes-node-929bc99.ac4-iad.github.net [10.52.23.67]) by smtp.github.com (Postfix) with ESMTPA id A8641600F08 for ; Wed, 30 Sep 2020 10:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1601485246; bh=FEA3ptCrLtCPCA4NJGc0PKRu8xSTnPVkASnF5PrmEFY=; h=Date:From:To:Subject:From; b=zvVk7BvldPfLwhu7H1Jy5jNIsv/EDapZBl2Su+s4ILx5RakXUHywfbrBaginZrv7H s3X9PsVtxZG7MV6F750yS21R6yGZZCWbXSKiejuplPAWF/ehbhunp4KmTidM/Ge21m wEHRECO9cSvJppB4G7bysuQR8+mG1LsOkW8wHChc= Date: Wed, 30 Sep 2020 10:00:46 -0700 From: Jorge Solorzano To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 2c02d4: feat: add smallserial metadata (#899) 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: 2c02d4e4637945b33aaea70f9597be879382b300 https://github.com/pgjdbc/pgjdbc/commit/2c02d4e4637945b33aaea70f9597be879382b300 Author: Jorge Solorzano Date: 2020-09-30 (Wed, 30 Sep 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSetMetaData.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ResultSetMetaDataTest.java Log Message: ----------- feat: add smallserial metadata (#899) PostgreSQL 9.2 adds a SMALLSERIAL data type, this reports the correct metadata information when a column is a smallserial (int2 with sequence), similar to how a serial or bigserial data types are reported.