|
| 1 | +From owner-pgsql-general@hub.org Fri Oct 9 18:22:09 1998 |
| 2 | +Received: from hub.org (majordom@hub.org [209.47.148.200]) |
| 3 | +by candle.pha.pa.us (8.9.0/8.9.0) with ESMTP id SAA04220 |
| 4 | +for <maillist@candle.pha.pa.us>; Fri, 9 Oct 1998 18:22:08 -0400 (EDT) |
| 5 | +Received: from localhost (majordom@localhost) |
| 6 | +by hub.org (8.8.8/8.8.8) with SMTP id SAA26960; |
| 7 | +Fri, 9 Oct 1998 18:18:29 -0400 (EDT) |
| 8 | +(envelope-from owner-pgsql-general@hub.org) |
| 9 | +Received: by hub.org (TLB v0.10a (1.23 tibbs 1997/01/09 00:29:32)); Fri, 09 Oct 1998 18:18:07 +0000 (EDT) |
| 10 | +Received: (from majordom@localhost) |
| 11 | +by hub.org (8.8.8/8.8.8) id SAA26917 |
| 12 | +for pgsql-general-outgoing; Fri, 9 Oct 1998 18:18:04 -0400 (EDT) |
| 13 | +(envelope-from owner-pgsql-general@postgreSQL.org) |
| 14 | +X-Authentication-Warning: hub.org: majordom set sender to owner-pgsql-general@postgreSQL.org using -f |
| 15 | +Received: from gecko.statsol.com (gecko.statsol.com [198.11.51.133]) |
| 16 | +by hub.org (8.8.8/8.8.8) with ESMTP id SAA26904 |
| 17 | +for <pgsql-general@postgresql.org>; Fri, 9 Oct 1998 18:17:46 -0400 (EDT) |
| 18 | +(envelope-from statsol@statsol.com) |
| 19 | +Received: from gecko (gecko [198.11.51.133]) |
| 20 | +by gecko.statsol.com (8.9.0/8.9.0) with SMTP id SAA00557 |
| 21 | +for <pgsql-general@postgresql.org>; Fri, 9 Oct 1998 18:18:00 -0400 (EDT) |
| 22 | +Date: Fri, 9 Oct 1998 18:18:00 -0400 (EDT) |
| 23 | +From: Steve Doliov <statsol@statsol.com> |
| 24 | +X-Sender: statsol@gecko |
| 25 | +To: pgsql-general@postgreSQL.org |
| 26 | +Subject: Re: [GENERAL] Making NULLs visible. |
| 27 | +Message-ID: <Pine.GSO.3.96.981009181716.545B-100000@gecko> |
| 28 | +MIME-Version: 1.0 |
| 29 | +Content-Type: TEXT/PLAIN; charset=US-ASCII |
| 30 | +Sender: owner-pgsql-general@postgreSQL.org |
| 31 | +Precedence: bulk |
| 32 | +Status: RO |
| 33 | + |
| 34 | +On Fri, 9 Oct 1998, Bruce Momjian wrote: |
| 35 | + |
| 36 | +> [Charset iso-8859-1 unsupported, filtering to ASCII...] |
| 37 | +> > > Yes, \ always outputs as \\, excepts someone changed it last week, and I |
| 38 | +> > > am requesting a reversal. Do you like the \N if it is unique? |
| 39 | +> > |
| 40 | +> > Well, it's certainly clear, but could be confused with \n (newline). Can we |
| 41 | +> > have \0 instead? |
| 42 | +> |
| 43 | +> Yes, but it is uppercase. \0 looks like an octal number to me, and I |
| 44 | +> think we even output octals sometimes, don't we? |
| 45 | +> |
| 46 | + |
| 47 | +my first suggestion may have been hare-brained, but why not just make the |
| 48 | +specifics of the output user-configurable. So if the user chooses \0, so |
| 49 | +be it, if the user chooses \N so be it, if the user likes NULL so be it. |
| 50 | +but the option would only have one value per database at any given point |
| 51 | +in time. so database x could use \N on tuesday and NULL on wednesday, but |
| 52 | +database x could never have two references to the characters(s) used to |
| 53 | +represent a null value. |
| 54 | + |
| 55 | +steve |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +From owner-pgsql-general@hub.org Sun Oct 11 17:31:08 1998 |
| 61 | +Received: from renoir.op.net (root@renoir.op.net [209.152.193.4]) |
| 62 | +by candle.pha.pa.us (8.9.0/8.9.0) with ESMTP id RAA20043 |
| 63 | +for <maillist@candle.pha.pa.us>; Sun, 11 Oct 1998 17:31:02 -0400 (EDT) |
| 64 | +Received: from hub.org (majordom@hub.org [209.47.148.200]) by renoir.op.net (o1/$ Revision: 1.18 $) with ESMTP id RAA03069 for <maillist@candle.pha.pa.us>; Sun, 11 Oct 1998 17:10:34 -0400 (EDT) |
| 65 | +Received: from localhost (majordom@localhost) |
| 66 | +by hub.org (8.8.8/8.8.8) with SMTP id QAA10856; |
| 67 | +Sun, 11 Oct 1998 16:57:34 -0400 (EDT) |
| 68 | +(envelope-from owner-pgsql-general@hub.org) |
| 69 | +Received: by hub.org (TLB v0.10a (1.23 tibbs 1997/01/09 00:29:32)); Sun, 11 Oct 1998 16:53:35 +0000 (EDT) |
| 70 | +Received: (from majordom@localhost) |
| 71 | +by hub.org (8.8.8/8.8.8) id QAA10393 |
| 72 | +for pgsql-general-outgoing; Sun, 11 Oct 1998 16:53:34 -0400 (EDT) |
| 73 | +(envelope-from owner-pgsql-general@postgreSQL.org) |
| 74 | +X-Authentication-Warning: hub.org: majordom set sender to owner-pgsql-general@postgreSQL.org using -f |
| 75 | +Received: from mail1.panix.com (mail1.panix.com [166.84.0.212]) |
| 76 | +by hub.org (8.8.8/8.8.8) with ESMTP id QAA10378 |
| 77 | +for <pgsql-general@postgreSQL.org>; Sun, 11 Oct 1998 16:53:28 -0400 (EDT) |
| 78 | +(envelope-from tomg@admin.nrnet.org) |
| 79 | +Received: from mailhost.nrnet.org (root@mailhost.nrnet.org [166.84.192.39]) |
| 80 | +by mail1.panix.com (8.8.8/8.8.8/PanixM1.3) with ESMTP id QAA16311 |
| 81 | +for <pgsql-general@postgreSQL.org>; Sun, 11 Oct 1998 16:53:24 -0400 (EDT) |
| 82 | +Received: from admin.nrnet.org (uucp@localhost) |
| 83 | + by mailhost.nrnet.org (8.8.7/8.8.4) with UUCP |
| 84 | + id QAA16345 for pgsql-general@postgreSQL.org; Sun, 11 Oct 1998 16:28:47 -0400 |
| 85 | +Received: from localhost (tomg@localhost) |
| 86 | +by admin.nrnet.org (8.8.7/8.8.7) with SMTP id QAA11569 |
| 87 | +for <pgsql-general@postgreSQL.org>; Sun, 11 Oct 1998 16:28:41 -0400 |
| 88 | +Date: Sun, 11 Oct 1998 16:28:41 -0400 (EDT) |
| 89 | +From: Thomas Good <tomg@admin.nrnet.org> |
| 90 | +To: pgsql-general@postgreSQL.org |
| 91 | +Subject: Re: [GENERAL] Making NULLs visible. |
| 92 | +In-Reply-To: <Pine.GSO.3.96.981009181716.545B-100000@gecko> |
| 93 | +Message-ID: <Pine.LNX.3.96.981011161908.11556A-100000@admin.nrnet.org> |
| 94 | +MIME-Version: 1.0 |
| 95 | +Content-Type: TEXT/PLAIN; charset=US-ASCII |
| 96 | +Sender: owner-pgsql-general@postgreSQL.org |
| 97 | +Precedence: bulk |
| 98 | +Status: RO |
| 99 | + |
| 100 | +Watching all this go by...as a guy who has to move alot of data |
| 101 | +from legacy dbs to postgres, I've gotten used to \N being a null. |
| 102 | + |
| 103 | +My vote, if I were allowed to cast one, would be to have one null |
| 104 | +and that would be the COPY command null. I have no difficulty |
| 105 | +distinguishing a null from a newline... |
| 106 | + |
| 107 | +At the pgsql command prompt I would find seeing \N rather reassuring. |
| 108 | +I've seen alot of these little guys. |
| 109 | + |
| 110 | + ---------- Sisters of Charity Medical Center ---------- |
| 111 | + Department of Psychiatry |
| 112 | + ---- |
| 113 | + Thomas Good <tomg@q8.nrnet.org> |
| 114 | + Coordinator, North Richmond C.M.H.C. Information Systems |
| 115 | + 75 Vanderbilt Ave, Quarters 8 Phone: 718-354-5528 |
| 116 | + Staten Island, NY 10304 Fax: 718-354-5056 |
| 117 | + |
| 118 | + |
| 119 | + |