pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: max1@inbox.ru
Subject: advanced.sql tutorial script
Date: Sun, 07 Mar 2021 13:32:08 +0000
Message-ID: <161512392887.1046.3137472627109459518@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/tutorial-advanced-intro.html
Description:

I built tutorial files according to instructions from the section 2.1. And I
found that the script advanced.sql covers only the section "3.6.
Inheritance". There are no any statements related to "3.2. Views", "3.3.
Foreign Keys", "3.4. Transactions" and "3.5. Window Functions".
Also there is a difference between the script and the documentation in
relation to Inheritance.

In src/tutorial/advanced.sql:
CREATE TABLE cities (
	name		text,
	population	float8,
	altitude	int		-- (in ft)
);

In documentation
https://www.postgresql.org/docs/13/tutorial-inheritance.html :
CREATE TABLE cities (
  name       text,
  population real,
  elevation  int     -- (in ft)
);

So, advanced.sql should be updated with statements from sections 3.2-3.5 and
with new table structures from 3.6.


view thread (2+ messages)  latest in thread

Message-ID: <161512392887.1046.3137472627109459518@wrigleys.postgresql.org>
Permalink:  ../161512392887.1046.3137472627109459518@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/161512392887.1046.3137472627109459518@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, max1@inbox.ru
  Subject: Re: advanced.sql tutorial script
  In-Reply-To: <161512392887.1046.3137472627109459518@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox