Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmMN1-0008F5-9g for pgsql-docs@arkaria.postgresql.org; Sun, 05 Aug 2018 16:59:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fmMMz-00053b-7N for pgsql-docs@arkaria.postgresql.org; Sun, 05 Aug 2018 16:59: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.89) (envelope-from ) id 1fmMMy-00053U-UJ for pgsql-docs@lists.postgresql.org; Sun, 05 Aug 2018 16:59:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmMMw-0008WD-4B for pgsql-docs@lists.postgresql.org; Sun, 05 Aug 2018 16:59:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w75GwxWc011934; Sun, 5 Aug 2018 12:58:59 -0400 From: Tom Lane To: x.postgresqldocs@alanfairless.com cc: pgsql-docs@lists.postgresql.org Subject: Re: Incorrect argument type documented for hmac function In-reply-to: <153344327294.1404.654155870612982042@wrigleys.postgresql.org> References: <153344327294.1404.654155870612982042@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Doc_comments_form?= message dated "Sun, 05 Aug 2018 04:27:52 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11932.1533488339.1@sss.pgh.pa.us> Date: Sun, 05 Aug 2018 12:58:59 -0400 Message-ID: <11933.1533488339@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Doc_comments_form?= writes: > This line in the document: > hmac(data bytea, key text, type text) returns bytea > Incorrectly lists the key as type text when it is also bytea. The line > should read: > hmac(data bytea, key bytea, type text) returns bytea Indeed. Thanks for catching that! regards, tom lane