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 1iELtE-0005y2-M7 for pgsql-general@arkaria.postgresql.org; Sat, 28 Sep 2019 23:12:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iELtD-0004fh-ID for pgsql-general@arkaria.postgresql.org; Sat, 28 Sep 2019 23:12:35 +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 1iELtD-0004f0-6I for pgsql-general@lists.postgresql.org; Sat, 28 Sep 2019 23:12:35 +0000 Received: from mail-wr1-f66.google.com ([209.85.221.66]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iELtA-0007MI-Iz for pgsql-general@postgresql.org; Sat, 28 Sep 2019 23:12:34 +0000 Received: by mail-wr1-f66.google.com with SMTP id b9so6961733wrs.0 for ; Sat, 28 Sep 2019 16:12:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=IEGuYNgFHUOZ6rq+GhmW2QpUOyL+e1T97F8zv1EqEMo=; b=t8/BuwGIxrJ0i9ESrXSwy59G8iGHLWTdgpmXqPgURVKsUriMMRSr2pAknDtlRyfjrx 6Uf/wMTh+gwdz3DXWynMnPirXI7GZmYgr93TkdiTDxh4YGcNOb4G8gt2j5hm9FK1X+9/ XaBMbK5vi/zA0SaUUPX/kSY9cklKP+ns1GgQJ091ArWvLzidMjYQtjdvPyZzcNuxL5RD 0AYdNaxp9cmHt6V60qqfT1L61eV3BG3FilG10gSTho3S7iWRblpb4IEMxhJ9InqSMvq5 iCbm5eCzZrimWE/zfBwVgqsLloubQMs/G45LrqerQvmZgtQ+1IaixhyvXS4v5f67cHyF 0M4g== X-Gm-Message-State: APjAAAUUqNtm6d4zH7IisfgLrz7737RdAjanTb/C4D7lMdwsU5sS2oXP VpX0CDUwJItYppXiUU2ZVuZRzFzLHkw= X-Google-Smtp-Source: APXvYqwnXBpoMW8OByciMzZyUWbWpHehD6Ab0qUKvcXtFhdFepO8e2WnPUVEcdeqFQAYPqoROFvGrw== X-Received: by 2002:a5d:4dcb:: with SMTP id f11mr7938797wru.239.1569712350496; Sat, 28 Sep 2019 16:12:30 -0700 (PDT) Received: from [10.70.0.28] ([93.240.157.36]) by smtp.gmail.com with ESMTPSA id v8sm11613052wra.79.2019.09.28.16.12.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Sep 2019 16:12:29 -0700 (PDT) Subject: Re: Phone number type extension To: stan , pgsql-general@postgresql.org References: <20190928091115.GA19318@panix.com> From: Andreas 'ads' Scherbaum Message-ID: Date: Sun, 29 Sep 2019 01:12:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190928091115.GA19318@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 28.09.19 11:11, stan wrote: > Is there any currently supported version of this? I found one using google, > but it looks like it was last updated around version 8 of Postgres. > Found this: https://github.com/blm768/pg-libphonenumber Might be used in a CHECK constraint to validate phone numbers, or a BEFORE trigger can normalize (or reject) the input value. Regards, -- Andreas 'ads' Scherbaum German PostgreSQL User Group European PostgreSQL User Group - Board of Directors Volunteer Regional Contact, Germany - PostgreSQL Project