Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xr6X4-0004S1-9x for pgsql-admin@arkaria.postgresql.org; Wed, 19 Nov 2014 14:46:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xr6X3-0003gc-JZ for pgsql-admin@arkaria.postgresql.org; Wed, 19 Nov 2014 14:46:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xr6X0-0003a6-I5 for pgsql-admin@postgresql.org; Wed, 19 Nov 2014 14:46:54 +0000 Received: from mailout.easymail.ca ([64.68.201.169]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xr6Wv-0000KW-NM for pgsql-admin@postgresql.org; Wed, 19 Nov 2014 14:46:52 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id A82B8E0DD; Wed, 19 Nov 2014 09:46:47 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Flag: NO X-Spam-Score: -4.368 X-Spam-Level: X-Spam-Status: No, score=-4.368 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.031, BAYES_00=-2.599] Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KRtbtQBtMjwD; Wed, 19 Nov 2014 09:46:47 -0500 (EST) Received: from [192.168.2.16] (unknown [8.39.228.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id B1663DFE3; Wed, 19 Nov 2014 09:46:46 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: order by query wrong result From: Scott Ribe In-Reply-To: <348EDCED-E812-4763-9043-2B534DB11C94@elevated-dev.com> Date: Wed, 19 Nov 2014 07:46:45 -0700 Cc: "ktm@rice.edu" , John Scalia , Silvio Brandani , "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <613E25C1-83FB-4336-8544-9CCFD85CECA9@elevated-dev.com> References: <546CA188.705@tech.sdb.it> <98519DF5-9539-434F-916B-BFF33F24A6A5@elevated-dev.com> <20141119142700.GI10679@aart.rice.edu> <4F51E832-861A-4E83-8445-E9F32B079254@elevated-dev.com> <348EDCED-E812-4763-9043-2B534DB11C94@elevated-dev.com> To: Matheus de Oliveira X-Mailer: Apple Mail (2.1990.1) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Wait, ignore spaces too? OK, but that's an awfully odd rule. > On Nov 19, 2014, at 7:43 AM, Scott Ribe wro= te: >=20 > On Nov 19, 2014, at 7:39 AM, Matheus de Oliveira wrote: >>=20 >> If you ignore dots, spaces, and dashs, you have that result. >=20 > No, you do not. You also have to ignore the "S." of "S.L.", and that's wh= at threw me off the first time. >=20 > --=20 > Scott Ribe > scott_ribe@elevated-dev.com > http://www.elevated-dev.com/ > (303) 722-0567 voice >=20 >=20 >=20 >=20 --=20 Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin