Re: psql: bogus descriptions displayed by \d+

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: psql: bogus descriptions displayed by \d+
Date: 2011-08-05 01:12:06
Message-ID: 1312506726.22355.11.camel@jdavis-ux.asterdata.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2011-08-04 at 14:20 -0500, Kevin Grittner wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>
> > According to scientific-ish database literature, a table is a
> > relation and vice versa.
>
> I've generally understood the terms more like what is described near
> the top of this page:
>
> http://en.wikipedia.org/wiki/Relation_%28database%29
>
> "In SQL, [...] a relation variable is called a table."

The SQL spec also uses "table" to refer to a *value*. So we certainly
can't turn that around and say "a table in SQL is a relation variable".

It's all a bit loose anyway, because SQL tables aren't really relations
or relation variables (for instance, they can contain duplicates).

Regards,
Jeff Davis

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-08-05 01:14:40 Re: Reduce WAL logging of INSERT SELECT
Previous Message Bruce Momjian 2011-08-05 00:55:47 Re: Reduce WAL logging of INSERT SELECT