| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #5053: domain constraints still leak |
| Date: | 2009-09-14 14:22:34 |
| Message-ID: | 15993.1252938154@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> It seems like regardless of this discussion you oughtn't to be able to
> store a NULL into that table column. But maybe I'm just confused.
The system is relying on the not-unreasonable assumption that if it
extracts a column of type X from someplace, what it has is a valid value
of type X. Depending on what we decide about the whole composite-null
mess, maybe we will be forced to abandon that assumption ... but I'm
sure not going to do so until my back is to the wall.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-09-14 14:27:54 | Re: BUG #5054: PDO -> Query returns "" from Boolean type field, if it has false value. |
| Previous Message | fous velkej | 2009-09-14 14:10:11 | Re: ERROR: invalid page header in block 502758 of relation base/16388/16403 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pierre Frédéric Caillaud | 2009-09-14 14:26:53 | Bulk Inserts |
| Previous Message | Robert Haas | 2009-09-14 13:28:21 | Re: BUG #5053: domain constraints still leak |