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 1jBh8O-0001LO-Pp for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2020 15:49:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jBh8N-0007DM-Kq for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Mar 2020 15:49:31 +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 1jBh8N-0007DF-3j for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2020 15:49:31 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jBh8K-0000yK-Iw for pgsql-hackers@lists.postgresql.org; Tue, 10 Mar 2020 15:49:29 +0000 Received: by mail-qv1-xf35.google.com with SMTP id w5so729903qvp.11 for ; Tue, 10 Mar 2020 08:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=O0HPVTSFL7k8iwv62FiO2A5Jzi9YONbUoeCfwjRFTn8=; b=qB6n7nUvqDv2BWS6Oj2mGnHPGGT4ysOJQ3/L9XAvNkZhbybvCe2CAm0J93T0txobV4 979uK9KLrENq8LUY9yfnMcqLEJrhB/dBleNRxE5KgSVZ7/m0Ks1j8Y61gMr7JaRiSQkR oGgcmeHtaTjSm/oYCKKuf9DSXi7lw54n33NfHmIlVoHr5LAFpGEl4WFdv2dUJdx5AM8M T+woR3+fCxMucRodCnNOyru8KaTHHQurM3TpMQigWOB8vWVL15/G+d5RAk2tSRYL9bFf T787VMMeVJQocnzD4khG1Dk8g8EE6Ky1R5QcRKRE9knw/8OGJ+RXZKZL3fAl7mfz18XG YHjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=O0HPVTSFL7k8iwv62FiO2A5Jzi9YONbUoeCfwjRFTn8=; b=Fhi+wFtHgfK6crlEIP9fvrFZwFUaqMbV/mq4C3c95x8me1GkeC2GmExue2MSv/gsr6 ifXpEdLcxd1HCqJUl8unl+YclvedzZ3UCb9NApY1VfxGb1DMbkdP6zOGVC/NEdqYe0r4 zkL3drYy61ixUqe6SvxDTTeSS70kHr52cRXw2kbYxpHiEy0YT6APxNXWYBKBevjKq7s9 q+OIqSOi9HKR1FezC53W9sHrQcyxwKG0ArXNfmX4p4zxECG1oyXKDZkpuMlx+ZSCr33T 1ckx6bCw2XuAciF3+Zap7krrXPPxa8F6t8/lFN/uwEO4n9XVYnEPdj0/cIUc2Ed4EkBC YJcQ== X-Gm-Message-State: ANhLgQ2yIb+V+Z6uxR4UegGqQkGi9PNEEzZv/cYHk3XeU/B/jWhWDxNt jJc1XHebb54MOKavXYxudBYy1MQ6fHLPcw== X-Google-Smtp-Source: ADFU+vv+U6cnl9p+fJChs+nC5PXycOmr84w0vpg1koynazVsSRCvcPGcV2WhqXwlE8ZaGiI7mUuPFw== X-Received: by 2002:a05:6214:928:: with SMTP id dk8mr4256543qvb.170.1583855366636; Tue, 10 Mar 2020 08:49:26 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([191.125.227.206]) by smtp.gmail.com with ESMTPSA id p35sm4390668qtk.2.2020.03.10.08.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 08:49:25 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 12A5D300945; Tue, 10 Mar 2020 12:49:22 -0300 (-03) Date: Tue, 10 Mar 2020 12:49:22 -0300 From: Alvaro Herrera To: Pg Hackers Cc: Paul Jungwirth Subject: Re: time for catalog/pg_cast.c? Message-ID: <20200310154922.GA12505@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200309210003.GA19992@alvherre.pgsql> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-09, Alvaro Herrera wrote: > I extracted from the latest multirange patch a bit that creates a new > routine CastCreate() in src/backend/catalog/pg_cast.c. It contains the > catalog-accessing bits to create a new cast. It seems harmless, so I > thought I'd apply it to get rid of a couple of hunks in the large patch. Pushed, thanks. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services