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 1hS6HB-0004bg-PZ for pgsql-general@arkaria.postgresql.org; Sat, 18 May 2019 20:49:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hS6H9-00024I-Pv for pgsql-general@arkaria.postgresql.org; Sat, 18 May 2019 20:49:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hS6H9-00024B-GB for pgsql-general@lists.postgresql.org; Sat, 18 May 2019 20:49:51 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hS6H2-0004F8-08 for pgsql-general@lists.postgresql.org; Sat, 18 May 2019 20:49:50 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 4D54129FD; Sat, 18 May 2019 22:49:41 +0200 (CEST) Date: Sat, 18 May 2019 22:49:41 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: bigint out of range Message-ID: <20190518204941.d2o5xy2b53r266ws@hjp.at> References: <20190518093519.2kd6hyw37wcx6qwc@hjp.at> <20190518192703.ml6duizgdyfyetva@hjp.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mdudpetztb4mf4jj" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --mdudpetztb4mf4jj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-05-18 15:19:22 -0500, Ron wrote: > On 5/18/19 2:27 PM, Peter J. Holzer wrote: > > On 2019-05-18 10:49:53 -0700, David G. Johnston wrote: > > > You don=E2=80=99t perform math on a hash > > That's not generally true. Hashes are used for further computation for > > example in hash tables or in cryptography. >=20 > How is it "using math" to use a hash key in a hash lookup table? hash modulo table size. hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --mdudpetztb4mf4jj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAlzgb+AACgkQ8g5IURL+ KF0IQQ//dE8XIenDYpcmckcHFgaIAjjcSnzta6xuu+yY/0HGaGW1UYGgnkWLnSRZ EOZKfnRmvFGQmXTczEbjZrcedbSq6Thv/gnvuGvSSvcf1gZhJ86RX2zGP/bJ1jx4 TX201Lwa2FBE8Qkb+3I+yXRKT3O9aH5FP7XEb0PT6JDlby2yWAuoMs9OaCECRpRh xsm82Ih4I5Q8VdodD8J6yOYc4zg2muGK4igA1eAugUu2TjW+x9nIy9dV4ZOc1o/a l2lEODnzKQDvvxjhdfkFg8L+YGKfy4Jl452ayKLs4Slv3QeXrslp1sqV36XpNRxD KgD2FE5jXgn+Hb8LroxLwhV/c64VFN82NFwP9EmhFSuCVdw+Y5+8L8AesElMTi1P gVfqN4PJAvnKadnXrtmxzT6DISg8s+dJvZAq2PBiZmW5ZzfKU+wRStXJYKxs0OFA +NoUTI1tUYujruksh4tofkeXU3Sr5lVtnfzCUZE1XCgGPhWKAcvpjeFb9Ftl9QIb L7Ps5jQqKsE7CfpKx2tJDFsWW+/x+p7UQ/DOMP/CCwD7qtlgYZR4EVmd8aO/BD70 qiAyBIjvSXPEgVuqFdbTyA5D2ur/OKdWtJoeSCKoP8ctnmvbf4wxnp6itfUUrfUs 8z+wHgvyVsV9bGcr+xdXaBtDUSbCPdiwCXpvUHfyeyUPBWqQKOk= =NNc9 -----END PGP SIGNATURE----- --mdudpetztb4mf4jj--