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: tempinout@ukr.net
Subject: error
Date: Thu, 28 Mar 2019 14:44:52 +0000
Message-ID: <155378429268.9814.15793833671806862761@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/xfunc-sql.html
Description:

> hello
> 
> i've descovered a small error - instead of integer should be numeric
> 
> https://www.postgresql.org/docs/9.6/xfunc-sql.html 
> 
> CREATE FUNCTION tf1 (accountno integer, debit numeric) RETURNS integer AS
$$
>     UPDATE bank
>         SET balance = balance - debit
>         WHERE accountno = tf1.accountno;
>     SELECT balance FROM bank WHERE accountno = tf1.accountno;
> $$ LANGUAGE SQL;


view thread (6+ messages)  latest in thread

Message-ID: <155378429268.9814.15793833671806862761@wrigleys.postgresql.org>
Permalink:  ../155378429268.9814.15793833671806862761@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/155378429268.9814.15793833671806862761@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, tempinout@ukr.net
  Subject: Re: error
  In-Reply-To: <155378429268.9814.15793833671806862761@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