Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uLPXa-008ZHC-Ep for pgsql-general@arkaria.postgresql.org; Sat, 31 May 2025 16:58:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uLPXX-00EHOg-D2 for pgsql-general@arkaria.postgresql.org; Sat, 31 May 2025 16:58:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uKtzP-00GE0E-V1 for pgsql-general@lists.postgresql.org; Fri, 30 May 2025 07:17:16 +0000 Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uKtzO-000fWU-0f for pgsql-general@lists.postgresql.org; Fri, 30 May 2025 07:17:15 +0000 Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-e7c5d4709caso1655503276.1 for ; Fri, 30 May 2025 00:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1748589433; x=1749194233; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=biqNdxscYyJEu9AT7bD83p0ze9AJSXqlNWMszFDi1uk=; b=Gu26Q3gUaGHI6NEA+sZCrHXuz30se7TYkQkJlSKlSiolCOBqLcI5Ejkgdxo5cnxzyd eV8/GRzs2QVrgmy6KxCcqeDAD8v9AAoUOl2F+h5qj8vOa7Jiasyyzfvrc1vvM61E652v d43l+5kwlR6poRDfEd3oD3WBG4EnAuJv3gDJJcKZ7RPi/Rb7G4/Tm7vXBGcZg1fOlXjA IYLoMIz26tI3V7FF0skD1ba9Za1WGAkzOXL4gI2b+xxVNGISMzHbZM0cEgs/Ih1qHtDN R/d4HBoXnAi267viRFyAClAJfkbVYcX3Atye2l//FiQU7gBTM/QwITBz4JuVIfYn3phB 3OrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748589433; x=1749194233; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=biqNdxscYyJEu9AT7bD83p0ze9AJSXqlNWMszFDi1uk=; b=npxOMLJcWuvY8bq41k6IuEMaa+voaFC6Inu48TCpCXyEDOaSBjDTMr+Gb824EhW0Yf VYkxjLJvWzmK1DToP6i/el8/fmhdj68rh0utPbGUzinandtKDIl2FLPT9D4O+LZKceLN qI+cM4IdHersYa1doEsXFDrYoWaF2n1dSah0P779OF2qOqLTmOQWX/WtEK9ueqYHVw/q C0VCS5KSZZgN5m4l4hB2r6S3MUYkb8ysaMyd9BcWiQ0K7XQSleT9Y5P3FVAseLv75jJC xYbFd8brfuOrFGtOWkrcombKi4TZVvJsW9VfCMakwPvKrTOjKg143xD+eyxx6y1YvdQc kBlA== X-Gm-Message-State: AOJu0YzHPS1XGgtNtg+HB/s8XEKQ/1Q99qYDyvrJCIK33IMWlXf9ByfD cMVdWXC6H5wwJeF2H/IhcArqtAPM4Lz3zyNTh3r0xE6HPbqt9gDO23A2t1QAXovlENaw4ZsFVgi sfsOtjuPoWzgbNNJ07or9HcNFfm3qBVQ= X-Gm-Gg: ASbGncsmgjHuW0fCgbCa3Mn196z24qn3f/XG3AAzkY03As/CnhJcDqfEh/7KpGS9Itc krBBJ3FJ1RRN4kBAAShC2wAHZUtfaRydNgovmuhOYpRgvAPGVX6eVrghpNw/aEoj5C4rgx51ILf 3QqgKbGnzUuFysS07TEthLYeMbW8GRAOmH X-Google-Smtp-Source: AGHT+IFxU3ZN/3ExWGYgCQ0wwXY4Mz1Zv6mrd1YwrynARlNlD5VHP+jcMOLgRcN/JVO5EgvZCf5Qmdj0+3w1g0Jf1F0= X-Received: by 2002:a05:690c:7009:b0:70e:1474:63ca with SMTP id 00721157ae682-71057c0d82fmr16986347b3.11.1748589433316; Fri, 30 May 2025 00:17:13 -0700 (PDT) MIME-Version: 1.0 References: <4c1c0192-e4f1-4e13-8dae-bfd9bb1801c1@aklaver.com> <1452427.1748442061@sss.pgh.pa.us> In-Reply-To: <1452427.1748442061@sss.pgh.pa.us> From: Richard Zetterberg Date: Fri, 30 May 2025 09:17:02 +0200 X-Gm-Features: AX0GCFuRcy2DNA01dbHzDcL-mdFh32PCUNNP48YfTKHZr-M2ofY_7EJZ6CzV594 Message-ID: Subject: Re: Changing a varchar(7) domain into text directly in pg_type To: Tom Lane , ronljohnsonjr@gmail.com Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000007eb2606365534c2" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000007eb2606365534c2 Content-Type: text/plain; charset="UTF-8" Ron, thanks for the feedback and for teaching me a new word (bog-standard). Tom, thanks for the feedback and extra info about pg_depend. I've tested simple queries on all of the tables and it seems to be fine. Hopefully nothing will turn up when we start running the more advanced queries. Either way, it will be easy to revert to previous backup, since the database is only used for analysis on static data. --00000000000007eb2606365534c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ron, thanks for the feedback and for teaching me a ne= w word (bog-standard).

Tom, thanks for the fee= dback and extra info about pg_depend. I've tested simple queries on all= of the tables and it seems to be fine. Hopefully nothing will turn up when= we start running the more advanced queries. Either way, it will be easy to= revert to previous backup, since the database is only used for analysis on= static data.

--00000000000007eb2606365534c2--