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 1lXTIX-0005dS-GF for pgsql-admin@arkaria.postgresql.org; Fri, 16 Apr 2021 18:34:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lXTIT-0003KH-UR for pgsql-admin@arkaria.postgresql.org; Fri, 16 Apr 2021 18:34:29 +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 1lXTIT-0003KA-2j for pgsql-admin@lists.postgresql.org; Fri, 16 Apr 2021 18:34:29 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lXTIM-0006uL-DX for pgsql-admin@lists.postgresql.org; Fri, 16 Apr 2021 18:34:28 +0000 Received: by mail-wr1-x430.google.com with SMTP id k26so11172318wrc.8 for ; Fri, 16 Apr 2021 11:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:in-reply-to:references :disposition-notification-to:date:mime-version:user-agent; bh=/0wPa488bFvDFDln2UUHpSj1dGluttwzqSqw+bCi/bs=; b=ZxduTqSc22Bov49+0NJFeZy4UGAmia3Fgsrq2LzLgAxIF3t16JiN6K2CivrKtnevaN ymXP4IaDNtjthBz8p6iWEAYNlWg8HD7pL5kXJSP9VcMvZfkdWxdfsJmg29ABYzLNLOti tpPv42vlFqgHRawvRvyhhwPrmPMzBOEkqdiIm77KN+enDnH1LXWB80ymN0jlEowzh4dk G1+DMX8P+pvyqdZtoiZGwIDaeeMERsF0v7X6nhHAuEcYUUP1qhgM1kH/2NEAAOALDtvq 4RNdne41rOVnSYoX7Rl1UJvV9z+MU2IkfHU61ZHp6Cn6U6SoJxAO11SQdL7/oXU+eFKL JVhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:in-reply-to :references:disposition-notification-to:date:mime-version:user-agent; bh=/0wPa488bFvDFDln2UUHpSj1dGluttwzqSqw+bCi/bs=; b=NSlL06lyW0S7AjFrCSb2/u8zgu513atyar90r7UG68r4QwnvZc/pT+yrW/KLMOZbmS MmtWPWecNJIY0XRY1XSXuc/fA8O2J0KFx9RBmqhnw37qw+rpLZO9VoEADIb0/sbFyvuD 1MruOAYp3tJ6VxL7zB73LGBGHiOfOCL1O3a/m+K2e/Nvp/nRpDFEC9xZTE6vQTnwn4zc UQrf2nrohxdx0Fq9I9u/pDJ5ifIHMqyqteesZVi5udIoZifjMN9eF1W9nHW+cu4esLvc yjnswMzL12L8a7PNVYzmK4B3ONrOroOPc9OB8iGnkAMXmSGJMmCUD1DSxCbhHLTzAtM6 0xwQ== X-Gm-Message-State: AOAM530txsp5kK0IjBQEbFuKiDwXCGMWIQeBQuYk57vAlnKOEMNG5kAa 8oBlvef7/C7V4qUx16nn+4M= X-Google-Smtp-Source: ABdhPJzliY74kBMYNF8pnWwsbsEjf6+8DPmMFRYHY0y37XCqE5hrw9eT4M4+4aD/8xX483zG3D5Xeg== X-Received: by 2002:adf:cc89:: with SMTP id p9mr513916wrj.223.1618598060018; Fri, 16 Apr 2021 11:34:20 -0700 (PDT) Received: from [192.168.8.100] ([5.26.185.208]) by smtp.gmail.com with ESMTPSA id 200sm10383354wmb.1.2021.04.16.11.34.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 11:34:19 -0700 (PDT) Message-ID: <6ac2c50de3403c50b87ea4e160d3f8d3f8df1892.camel@gmail.com> Subject: Re: Reordering the fields in a table From: Google FezaCakir To: "Campbell, Lance" , "pgsql-admin@lists.postgresql.org" In-Reply-To: References: Disposition-Notification-To: fezacakir@gmail.com Content-Type: multipart/related; type="multipart/alternative"; boundary="=-pLFDbGni5nj00QpwmZx0" Date: Fri, 16 Apr 2021 21:34:17 +0300 MIME-Version: 1.0 User-Agent: Evolution 3.38.3-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=-pLFDbGni5nj00QpwmZx0 Content-Type: multipart/alternative; boundary="=-NVTNCYHcCwk+UCpQTck8" --=-NVTNCYHcCwk+UCpQTck8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit There is no way. You should drop and re-create table with your order. Regards. Cum, 2021-04-16 tarihinde 16:15 +0000 saatinde, Campbell, Lance yazdı: > If there is a way to do this please let me know. >   > PostgreSQL Request > I would love to see an enhancement to PostgreSQL where administrators > had some way to reorder the fields in their tables.  As a software > developer I can easily write a tool to reorder the fields in a table > if there were no foreign keys.  But foreign keys throw an enormous > hurdle in my way. >   > Why is this a big deal? > Sixteen years ago when I started working at the University of > Illinois I told my boss, “if you give me thirty days I can build a > platform that will allow me to cut at least 50% off of the > development time of your standard internal web business app.”  I > built it.  Today I personally created/manage/develop 17 services that > provide over 120 million pages of web content a year.  I can jump > into this infrastructure and make a change in an hour or two that > would take most people weeks to change.  The one issue that causes me > the most grief is the readability of tables.  When you manage 17 > services where you are continually tweaking the system you find the > tables are very unreadable.  New fields are continually added to the > bottom of tables. They are just not readable. >   > The most underappreciated elements in software design is the ongoing > need to be able to easily read what you are working with.  Table can > really become a mess.  It would be the most amazing enhancement to be > able to order the fields of any table with a command.  I know today > this is probably not a top priority to most developers and DBAs.  > They work in an environment where one person might work on just one > or two services.  But as development strategies change over time more > people will be developing software faster and faster.  Table field > readability will become more important. >   > Thanks, >   > LANCE CAMPBELL > Software Architect >   > Web Services > Public Affairs > Contact the Webtools Team > 217.333.0382 > lance@illinois.edu >   >   > >   > Under the Illinois Freedom of Information Act any written > communication to or from university employees regarding university > business is a public record and may be subject to public disclosure. >   --=-NVTNCYHcCwk+UCpQTck8 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
There is no way. You should drop and re-create table with = your order.
Regards.

Cum, 2021-04-16 tar= ihinde 16:15 +0000 saatinde, Campbell, Lance yazd=C4=B1:

If there is a way to do this please let me know.

<= o:p> 

PostgreSQL Request

I would love to see an enhancement to P= ostgreSQL where administrators had some way to reorder the fields in their = tables.  As a software developer I can easily write a tool to reorder = the fields in a table if there were no foreign keys.  But foreign keys= throw an enormous hurdle in my way.

 

Why is this a big deal?<= o:p>

Sixteen years ago when I started working at the University of Illinoi= s I told my boss, =E2=80=9Cif you give me thirty days I can build a platfor= m that will allow me to cut at least 50% off of the development time of you= r standard internal web business app.=E2=80=9D  I built it.  Toda= y I personally created/manage/develop 17 services that provide over 120 mil= lion pages of web content a year.  I can jump into this infrastructure= and make a change in an hour or two that would take most people weeks to c= hange.  The one issue that causes me the most grief is the readability= of tables.  When you manage 17 services where you are continually twe= aking the system you find the tables are very unreadable.  New fields = are continually added to the bottom of tables. They are just not readable.<= o:p>

 

The most underappreciated elements in software design is the ong= oing need to be able to easily read what you are working with.  Table = can really become a mess.  It would be the most amazing enhancement to= be able to order the fields of any table with a command.  I know toda= y this is probably not a top priority to most developers and DBAs.  Th= ey work in an environment where one person might work on just one or two se= rvices.  But as development strategies change over time more people wi= ll be developing software faster and faster.  Table field readability = will become more important.

 

Thanks,

 

LANCE CAMPBELL

Software Arch= itect

 

Web Services

Public Affairs<= span style=3D"font-size:11.0pt;color:black">

Contact the We= btools Team

217.333.0382

lance@illinois.edu<= span style=3D"font-size:11.0pt;color:black">

 

 

3D"/var/folders/wp/1f6l7hw95y718z976kgnl5f9kr5rtc/T/com.mi=

 

Under the Illinois Freedom of Information Act any written communication= to or from university employees regarding university business is a public = record and may be subject to public disclosure.

 


--=-NVTNCYHcCwk+UCpQTck8-- --=-pLFDbGni5nj00QpwmZx0 Content-Type: image/png; name="image001.png" Content-Description: image001.png Content-Disposition: inline; filename="image001.png"; size=2607; creation-date="Fri, 16 Apr 2021 16:15:51 GMT"; modification-date="Fri, 16 Apr 2021 16:15:51 GMT" Content-ID: Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAHcAAAAVCAYAAAELAkFNAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAm/SURBVFhH7Vl9iB1XFX8bo8XmY/PezNt0ZWPK 5u2+mXnZDUlqIpJ2bdmP9+bOvE2abpMSQQVNK1j9S0SkhCIqftAiBautoAUxUhSkUCEQCVSrbdra NlC01dRu0tjW3STbbTTU1Yy/35l7J/Pem32J+WhSzQ8uc++5n+ece885906uy60921cZezF3rnjD L0eSWb/zvQXH38us5aiHhQYUXPVHnc0VV2+JbDeoFZzwrtzawdFTrzd23mdX6pHlhdEy118pdA0b NPm6yrdXb45yXHJ/pXpuyz6kKvGsgOX5t+uswK6MR5ar3uQszJPWtTpcblcwKzHl90cH1YAUrP7q Z7hk5vllp4KjXpNBytUdtleP2BksvVIc2BoJzxyAfJtBBOCfg1EGmiKwyurnOpsTvtPfgS3yRZ+b KR8jI1kt5eSonWxbHLg5nodsJ9oy4MQQgdGcQVqDRgygHba9YNZy/VMxPeacoGbjiYMay8uXjyyy 3CBK9td5KexcYCZlyjsjqzX54uPZ6hrR76s1J8pdu32jJkNvsRgTfQB2Kg/xfoVf6rXoDS1mvuD6 R/hlH9lUXniIZSvZdOPQO85MuV5mOceJ6+s+Oi0FDaMn6kgIgJ3KY7vfzS83Cw+f0Bx/Eukx5gno cka+5iDi63kT72NecL4TS9kLIpnYVY+zTEAqR+WrJyZsT92PTbjnjKLmgFwExDhLUcdnFGJMiZrf oheWWkVdP8hyg6iRutcHV1+6zfXhwZGZY6o/mm5Kc/VSlFux/TrdLI0O4a5UXcqCtaL+AZalpgmk 8wzrYoKl3mgh3Yd52xnr1kUBac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