Re: Extracting hostname from URI column

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Extracting hostname from URI column
Дата
Msg-id 20070917144324.GP582@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: Extracting hostname from URI column  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-sql
On Mon, Sep 17, 2007 at 12:18:56AM +0100, Gregory Stark wrote:
> 
> Not all countries break up their national tld space into sections like .co.uk
> or .com.au. Canadian domains can be bought directly under .ca like amazon.ca.
> 
> I think you'll have to store a specific list of tlds and how deep you want to
> look.

Another way to look at this is that any containing domain is just a
domain.  So .info is a domain, example.info is a domain, and in case
of the existence of host1.some.example.info, some.example.info is a
domain.  Also, co.uk is just as much a domain as yahoo.co.uk.  

Some poor misguided people at Netscape badly misunderstood the DNS
many years ago, and web browser cookies have been attempting to
recover from that misunderstanding ever since (with sometimes serious
security implications).  There's really no reliable way to deduce
common responsibility from the DNS labels, and it's sometimes
terrifically important not to make that mistake.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
The plural of anecdote is not data.    --Roger Brinner


В списке pgsql-sql по дате отправления:

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: Format interval as hours/minutes etc
Следующее
От: Steve Midgley
Дата:
Сообщение: SQL performance help: self join or static var