Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXm0W-0001In-B6 for pgsql-admin@arkaria.postgresql.org; Sat, 17 Apr 2021 14:33:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lXm0S-0002vZ-UD for pgsql-admin@arkaria.postgresql.org; Sat, 17 Apr 2021 14:33:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXm0S-0002vR-Ab for pgsql-admin@lists.postgresql.org; Sat, 17 Apr 2021 14:33:08 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lXm0M-0007Qw-5W for pgsql-admin@lists.postgresql.org; Sat, 17 Apr 2021 14:33:06 +0000 Received: by mail-pj1-x1029.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so16119036pjv.1 for ; Sat, 17 Apr 2021 07:32:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtssigns-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=h12Y8siQ+rOAfyLeBdcFxlS+8twfsQQseIjBayw5zLM=; b=JO+bWuNL76PAqaRAq73/bAK3SnZ7XHVBeuvVyWf92P9gBzAIKOVE/Nk3kgIWZgpcwT cLP2lb6WoLMpyT/sF789Hx777vIY2g7CifUwG3iu2UZ08eKfeGrYvh+s//iUhToetwCX c70ekMYHI5pWvWA+LKLNZVA0WMUpnuWzpU5oD7sySd3ABojMdEyLHmsZ0xn/jNLtIhYX bFEWsp/CyW3V0Al46m1NxRXs3E0lW5ZET6G13xQyWRBJHuR4a8ycr7KtFM1bRcgVggT0 ea/31aPZu4rcMeMJqi9ooMXWF392Ob5HsYznbQOOQm231UpQ5yKtnSEaBVircxZv86Pr R7TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=h12Y8siQ+rOAfyLeBdcFxlS+8twfsQQseIjBayw5zLM=; b=qT7CN0MghMiguTEga4gZT+kaC2SxmvnN8BcFp+VD/onAgtnEOYIGlj2uYhVc3CVGKZ h9vgIcdAOaAbfJ24DmBDexzkTSCb9R+WArdFYSBUCNWrnI7wR+gcOzD6WzEjHNAp7KXl LIGOQsFLI2GnEj4pt00mgX5PbpybVAYc2etJPlFPIDfJ7ZszJEFf+d/k1WvgVjzIDFsU tZPJmolUlodC8zQWNTE5UWpkgXZSFe6ZbnRtqI3DOOv87H8cZ4L5ewSIpJMQgGKFvtOt 8ldijWFJNOoIP05xzwNmw2q+cOoMqVUp8f8mqZhKw8Pe/FDXu8WisGyWBu7BPtwBa1Mg OBag== X-Gm-Message-State: AOAM5315m/ZwNMrahu5Noo1RnwSvgVkvNxSrQHnNMIvUlID4o+GQ12jl aP8R5yq8UQzrkj/QgVFiQHwpddu3zJG/Og== X-Google-Smtp-Source: ABdhPJxVgWDvAcdm2agzsRE3gTc/6slJdgnc1kMRclFNwmGat78keXXP9zikC7iuOFw9mP3CPDqulg== X-Received: by 2002:a17:902:d30c:b029:eb:3d5a:ff07 with SMTP id b12-20020a170902d30cb02900eb3d5aff07mr14436563plc.19.1618669976423; Sat, 17 Apr 2021 07:32:56 -0700 (PDT) Received: from RTSMIKEMW102 ([70.97.187.194]) by smtp.gmail.com with ESMTPSA id x3sm1385428pfj.95.2021.04.17.07.32.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Apr 2021 07:32:55 -0700 (PDT) From: mike.moening@rtssigns.com X-Google-Original-From: To: Cc: "'Thomas Kellerer'" References: <50957530-D208-4895-BF58-823B0357E5EA@crazybean.net> In-Reply-To: Subject: RE: Reordering the fields in a table Date: Sat, 17 Apr 2021 09:32:54 -0500 Message-ID: <035301d73396$8e38b130$aaaa1390$@rtssigns.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 thread-index: AQI7LgP8TXrW6TsmtcbLRSzlIqzAUgI/4E/gAgeJKX0CCNXDnKm+Ttkg Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk MS SQL Server allows this too. I do it all the time. -----Original Message----- From: Thomas Kellerer =20 Sent: Saturday, April 17, 2021 1:09 AM To: pgsql-admin@lists.postgresql.org Subject: Re: Reordering the fields in a table Wells Oliver schrieb am 17.04.2021 um 00:28: > If it helps the cause, I would love this too, in addition to having=20 > the ability to ALTER TABLE ... ADD COLUMN with the ability to specify=20 > where in the column order. This ends up being a bigger frustration for = > a lot of people than it should be, and maybe it's a touch of OCD, but=20 > most RDBMS packages allow this "Most" seems a bit of a stretch. To my knowledge it's only supported in MySQL, Firebird and Informix. You can't do this in Oracle, SQL Server, DB2, Teradata, Ingres, Vertica = or SAP Hana.