"data" not "datums"

Started by Nonameover 8 years ago4 messagesdocs
Jump to latest
#1Noname
mahsh.baheti@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/datatype-json.html
Description:

In the section
https://www.postgresql.org/docs/9.4/static/datatype-json.html

Sub-section:
8.14.2. Designing JSON documents effectively

Original text:
"but having a predictable structure makes it easier to write queries that
usefully summarize a set of "documents" (datums) in a table."

Suggested text:
"but having a predictable structure makes it easier to write queries that
usefully summarize a set of "documents" (data) in a table."

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Noname (#1)
Re: "data" not "datums"

On 8/1/17 04:22, mahsh.baheti@gmail.com wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/datatype-json.html
Description:

In the section
https://www.postgresql.org/docs/9.4/static/datatype-json.html

Sub-section:
8.14.2. Designing JSON documents effectively

Original text:
"but having a predictable structure makes it easier to write queries that
usefully summarize a set of "documents" (datums) in a table."

Suggested text:
"but having a predictable structure makes it easier to write queries that
usefully summarize a set of "documents" (data) in a table."

"datum" means something specific in PostgreSQL, and several of those are
most usefully "datums". "data" doesn't really convey the same meaning here.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

In reply to: Peter Eisentraut (#2)
Re: "data" not "datums"

On Mon, Aug 7, 2017 at 1:15 PM, Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:

"datum" means something specific in PostgreSQL, and several of those are
most usefully "datums". "data" doesn't really convey the same meaning here.

We're not the first one to use "datums" like this. I think of it as
being like the use of "people" versus the use of "persons".

--
Peter Geoghegan

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#4David G. Johnston
david.g.johnston@gmail.com
In reply to: Peter Eisentraut (#2)
Re: "data" not "datums"

On Mon, Aug 7, 2017 at 1:15 PM, Peter Eisentraut <
peter.eisentraut@2ndquadrant.com> wrote:

On 8/1/17 04:22, mahsh.baheti@gmail.com wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/datatype-json.html
Description:

In the section
https://www.postgresql.org/docs/9.4/static/datatype-json.html

Sub-section:
8.14.2. Designing JSON documents effectively

Original text:
&quot;but having a predictable structure makes it easier to write

queries that

usefully summarize a set of &quot;documents&quot; (datums) in a

table.&quot;

Suggested text:
&quot;but having a predictable structure makes it easier to write

queries that

usefully summarize a set of &quot;documents&quot; (data) in a

table.&quot;

"datum" means something specific in PostgreSQL, and several of those are
most usefully "datums". "data" doesn't really convey the same meaning
here.

Peter, ​While your point is accurate the fact is that this seems to be the
only place in the user-facing documentation, aside from "hacker targeted"
material, that the word "datum" in the PostgreSQL sense is used. However,
changing it to "data" doesn't do it for me either. Reading the entire
paragraph, including the first introduction of the term "JSON documents",
leads me to think that the best solution here is to remove the
double-quotes surrounding "documents" and remove the parenthetical
entirely. I'm not seeing how it adds or clarifies anything here - the
reader has been told that an alias for "json value" is "document".
Introducing the concept of "datum" here is just going to prompt questions
such as this.

David J.