From: | "Subhramanya Shiva" <shiva(at)archeanit(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | how to remove ? |
Date: | 2001-05-13 16:43:59 |
Message-ID: | 1032.192.168.0.2.989772239.squirrel@mail.archeanit.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
How to remove from this mailing list ?
> "Marc Lamothe" <mlamothe(at)openface(dot)ca> writes:
> > The subnet_number column is a varchar(16) which I assume you can compare
> > with a text data type, which is what host() returns.
>
> Are you on a pre-7.1 Postgres release? host() is buggy before 7.1 ---
> it includes a trailing null in its output, which it shouldn't oughta
> have done. You can't see the null from outside the system, but it
> manages to mess up text comparisons anyway.
>
> BTW, you should consider using inet or cidr datatype for that column
> rather than varchar...
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
--
Subhramanya Shiva, Programmer
Archean InfoTech pvt.Ltd.
Hyderabad, India
http://www.archeanit.com
From | Date | Subject | |
---|---|---|---|
Next Message | pgsql | 2001-05-13 23:14:04 | DISTINCT ON () with UNION |
Previous Message | Antti Linno | 2001-05-13 14:02:54 | BLOB |