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.92) (envelope-from ) id 1jFhWL-0001C2-Jx for pgsql-general@arkaria.postgresql.org; Sat, 21 Mar 2020 17:02:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jFhWK-0000Xb-64 for pgsql-general@arkaria.postgresql.org; Sat, 21 Mar 2020 17:02:48 +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 1jFhWJ-0000XU-NO for pgsql-general@lists.postgresql.org; Sat, 21 Mar 2020 17:02:47 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jFhWG-0005wy-Jp for pgsql-general@lists.postgresql.org; Sat, 21 Mar 2020 17:02:46 +0000 Received: by mail-io1-xd36.google.com with SMTP id c19so9564126ioo.6 for ; Sat, 21 Mar 2020 10:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=tcSd2LRArAYV6qR6C6/DomP8NpQqPswwlTXmaai2zh8=; b=rdO50Lc5MJhvdIhTREMqXerzsVlJU27b9TVitV3r3mZ6+DYx+zNgXWO/pDF27bSIR6 DP18hxzCgylbXES17RgFboJsksVn/cySEn5Y/0Sg2l6APdRLmev7IUHT1HtIuyA0oXUl 5AV+/7hRuq2f78QdV96nOrrOOz4KIaV07m/cJ0QzTBimnhv6s/mjIFeyMOmmSBCHBfDv LBxWZie1BBhWT8kE2M/K5qO0nrF3uQmK07Rk9xE6DHkVO8z+DozqylpSLDgrwIADnPom zhOc0daYO2nxaJj0LrP7hc+h2z+f5QuHj0R4epiClvlEDrCPciyNGUdCKUEqv9Ol+KzG jrEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=tcSd2LRArAYV6qR6C6/DomP8NpQqPswwlTXmaai2zh8=; b=C/CMo0BkNKHJAxDfSK50rALa2cHwuQFuk5ZyQIG2Dk0GyVqqKe5BvlKLs7WV3rhRHb i5/l3woD5tDDDVik1U69qofVzUxae08Y8C2g3aHqSX5zzZYqHlbq/VDDAo+P/KlFGKd+ 1XmFFbSk3aqNEAe8m5bSchIceeFs+S9YkR5iec2og9cVuGQa0Qh4ooLuVEH4l7OGMcHW /LcB9AE7YK9R1px6Up8OgA4vw6quUfxCkt+uWETMxCPQdicnatEbOPKCmikxn8wtM6cc mvWka/25ugf9fe3BHLcQnbIPREj9Sdo2MLKxauzmsKp4uKjEnbGjfz1QKUv/SQJsB4vJ NEtA== X-Gm-Message-State: ANhLgQ05xC9e2fW3fax6bNv7ApQn+dIuUWbJrzF1t7t+luaKCha2uCyK i0Y9RoLJzqFwvmqz9+6oVJA= X-Google-Smtp-Source: ADFU+vvHrjOQeIjebIzv3ejpstyFkpWFGV3wHu2RAkUb43/Hzbx7gonznq6KxBtGBhgkYY3/ULmPmQ== X-Received: by 2002:a6b:7c4d:: with SMTP id b13mr12488577ioq.46.1584810163534; Sat, 21 Mar 2020 10:02:43 -0700 (PDT) Received: from [192.168.1.144] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id i6sm3318764ila.20.2020.03.21.10.02.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Mar 2020 10:02:42 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: Could postgres12 support millions of sequences? (like 10 million) Date: Sat, 21 Mar 2020 11:02:41 -0600 Message-Id: <7B1364EB-7DE5-48E7-A85D-F849EAE569F7@gmail.com> References: <2c994f4f-6627-1c4d-fac5-d3c442d197e9@aklaver.com> Cc: pabloa98 , "Peter J. Holzer" , "pgsql-generallists.postgresql.org" In-Reply-To: <2c994f4f-6627-1c4d-fac5-d3c442d197e9@aklaver.com> To: Adrian Klaver X-Mailer: iPhone Mail (17D50) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Mar 21, 2020, at 10:47 AM, Adrian Klaver wr= ote: >=20 > =EF=BB=BFOn 3/20/20 8:13 PM, pabloa98 wrote: >> Nothing I saw that said int could not become bigint. >> My bad. The code cannot be a bigint. Or it could be a bigint between 1 to= 99999999 :) >=20 >=20 > Aah, that was the counter Peter was talking about. I missed that. >=20 > As to below that is going to require more thought. >=20 Still no word on the actual requirement. As someone who believes consecutive= numbers on digital invoices is simply a mistaken interpretation of the pape= r based system, I suspect a similar error here. But again we haven=E2=80=99t= really heard, far as I know. Something really fishy about 99999999.=20 >=20