Re: unexpected result from to_tsvector

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>
Cc: Dmitrii Golub <dmitrii(dot)golub(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>
Subject: Re: unexpected result from to_tsvector
Date: 2016-03-20 14:42:21
Message-ID: 29363.1458484941@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de> writes:
> On Mar 20, 2016 01:09, "Dmitrii Golub" <dmitrii(dot)golub(at)gmail(dot)com> wrote:
>> Alex, actually subdomain can start with digit,

> Not according to the RFC you have linked to.

The powers-that-be relaxed that some time ago; I assume there's a newer
RFC. For instance, "163.com" is a real domain:

$ dig 163.com
...
;; QUESTION SECTION:
;163.com. IN A

;; ANSWER SECTION:
163.com. 600 IN A 123.58.180.8
163.com. 600 IN A 123.58.180.7

;; AUTHORITY SECTION:
163.com. 4516 IN NS ns3.nease.net.
163.com. 4516 IN NS ns2.nease.net.
...

$ whois 163.com
...
Registry Registrant ID:
Registrant Name: Domain Admin
Registrant Organization: Guangzhou NetEase Computer System Co., Ltd
Registrant Street: No. 16, Keyun Road, Tianhe District,
Registrant City: Guangzhou
Registrant State/Province: Guangdong
Registrant Postal Code: 510665
Registrant Country: CN
Registrant Phone: +86.2085106370
Registrant Phone Ext:
Registrant Fax: +86.2085106370
Registrant Fax Ext:
Registrant Email: nsadmin(at)corp(dot)netease(dot)com
...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-03-20 14:46:00 Re: Performance degradation in commit ac1d794
Previous Message Tomas Vondra 2016-03-20 14:32:03 Re: [PATCH] fix DROP OPERATOR to reset links to itself on commutator and negator