From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Rod Taylor <rbt(at)zort(dot)ca> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hackers List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] ANSI Compliant Inserts |
Date: | 2002-04-15 04:13:46 |
Message-ID: | 200204150413.g3F4Dk025524@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Rod Taylor wrote:
> For the latter one, it could be argued that the user understands the
> table in question and has inserted the values they require. New
> columns are added at the end, and probably don't affect the operation
> in question so why should it be changed to suit new columns? But,
> automated code should always be written with the columns explicitly
> listed, so this may be a user who has simply forgotten to add the
> value -- easy to do on wide tables.
I think our new DEFAULT for insert allows people to properly match all
columns, and I think it is too error prone to allow missing columns in
any INSERT.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2002-04-15 04:15:47 | Re: Security Issue.. |
Previous Message | Bruce Momjian | 2002-04-15 04:11:34 | Re: [PATCHES] ANSI Compliant Inserts |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-04-15 04:17:22 | Re: [PATCHES] ANSI Compliant Inserts |
Previous Message | Joe Conway | 2002-04-15 04:13:40 | contrib/dblink update |