Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egGol-0007VY-Rg for pgsql-general@arkaria.postgresql.org; Mon, 29 Jan 2018 21:18:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egGok-0007V6-VC for pgsql-general@arkaria.postgresql.org; Mon, 29 Jan 2018 21:18:18 +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 1egGok-0007Ux-KX for pgsql-general@lists.postgresql.org; Mon, 29 Jan 2018 21:18:18 +0000 Received: from mx1.gogca.com ([50.116.54.212]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egGoi-0001WM-45 for pgsql-general@lists.postgresql.org; Mon, 29 Jan 2018 21:18:17 +0000 Received: from websrv.gogca.com (websrv.gogca.com [66.228.32.76]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.gogca.com (Postfix) with ESMTPSA id A3BBC1C541 for ; Mon, 29 Jan 2018 16:18:14 -0500 (EST) Date: Mon, 29 Jan 2018 16:18:14 -0500 (EST) From: Gary Chambers To: PostgreSQL General Mailing List Subject: pgcrypto Documentation/Function Mismatch Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, I wanted to pass along a pgcrypto documentation/function definition mismatch in (at least) v9.3 and v9.6. The mismatch occurs in the hmac function definition: Documentation: hmac(data bytea, key text, type text) returns bytea As defined in 9.3.17 and 9.6.6: List of functions Schema | Name | Result data type | Argument data types | Type -------+------+------------------+---------------------+-------- tools | hmac | bytea | bytea, bytea, text | normal -- G.