Re: Re: logical changeset generation v3 - comparison to Postgres-R change set format
Hannu Krosing <hannu@2ndquadrant.com>
From: Hannu Krosing <hannu@2ndQuadrant.com>
To: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: Noah Misch <noah@leadboat.com>, Markus Wanner <markus@bluegap.ch>, Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2013-01-14T08:51:01Z
Lists: pgsql-hackers
On 01/13/2013 08:06 PM, Dimitri Fontaine wrote: > Hannu Krosing <hannu@2ndQuadrant.com> writes: >>> Does this hint that postgreSQL also needs an sameness operator >>> ( "is" or "===" in same languages). >> How do people feel about adding a real sameness operator ? > Well. I would prefer it if we can bypass the need for it. What is actually sufficient for current problem is sameness which compares outputs of type output functions and also considers NULLs to be the same. The reason for not providing equality for xml was not that two xml files which compare equal as text could be considered unequal in any sense but that there are some other textual representations of the same xml which could also be considered to be equal, like different whitespace between tag and attribute > Then Do we need the full range of eq, eql, equal and equalp predicates, > and would all of them allow overriding or just some? I consider sameness as basic thing as IS NULL, so the sameness should not be overridable. Extending IS NOT DISTINCT FROM to do this comparison instead of current '=' seems reasonable. That is SELECT '<tag/>'::xml IS DISTINCT FROM '<tag />'::xml should return TRUE as long as the internal representation of the two differ and even after you add equality operator to xml which compares some canonic form of xml and thus would make SELECT '<tag/>'::xml = '<tag />'::xml ; be TRUE. Regards, Hannu > > http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node74.html > > Regards,
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Background worker processes
- da07a1e85651 9.3.0 cited
-
Rearrange storage of data in xl_running_xacts.
- 5c11725867ac 9.3.0 cited
-
Basic binary heap implementation.
- 7a2fe9bd0371 9.3.0 cited
-
Embedded list interface
- a66ee69add6e 9.3.0 cited
-
Refactor xlog.c to create src/backend/postmaster/startup.c
- 9aceb6ab3c20 9.2.0 cited