pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: joan@sanchezsabe.com
To: pgsql-docs@postgresql.org
Subject: Possible documentation error on pg_catalog.pg_timezone_abbrevs
Date: Wed, 02 Aug 2017 22:03:28 +0000
Message-ID: <20170802220328.8429.72687@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/view-pg-timezone-names.html
Description:

With regard to documentation page:

https://www.postgresql.org/docs/current/static/view-pg-timezone-names.html

Testing:

SELECT name, abbrev, utc_offset, is_dst FROM pg_catalog.pg_timezone_abbrevs
;

... produces the error 

ERROR:  column &quot;name&quot; does not exist
LINE 1: SELECT name, abbrev, utc_offset, is_dst FROM pg_timezone_abb...

Apparently, the column &quot;name&quot; isn&#39;t there any more.

SELECT * FROM pg_catalog.pg_timezone_abbrevs LIMIT 1;

produces

abbrev | utc_offset | is_dst
:----- | :--------- | :-----
ACDT   | 10:30:00   | t     

Either the table (or view) is lacking a column, or the documentation is
wrong. 

Tested on PostgreSQL 9.6.2 at
http://dbfiddle.uk/?rdbms=postgres_9.6&amp;fiddle=9f367fa77616ddf9af721091366bd792


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


view thread (2+ messages)  latest in thread

Message-ID: <20170802220328.8429.72687@wrigleys.postgresql.org>
Permalink:  ../20170802220328.8429.72687@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170802220328.8429.72687@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: joan@sanchezsabe.com
  Subject: Re: Possible documentation error on pg_catalog.pg_timezone_abbrevs
  In-Reply-To: <20170802220328.8429.72687@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