Re: [DOCS] nothing ever works - Mailing list pgsql-docs

From Pavel Stehule
Subject Re: [DOCS] nothing ever works
Date
Msg-id CAFj8pRBVZSw_COwXxQhPKmucMSPiETKVM0d9sMH6PYRN73CMXg@mail.gmail.com
Whole thread Raw
In response to [DOCS] nothing ever works  (gerardmatt@gmail.com)
Responses Re: [DOCS] nothing ever works
List pgsql-docs
Hi

2017-06-21 10:39 GMT+02:00 <gerardmatt@gmail.com>:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/plpgsql-statements.html
Description:

Your documentation although it seems straight forward actually never
works.

The dynamic sql section gives example code, it does not execute.

It does not exec in a script block or as plain sql.

Please explain limitations or where the script can actually be executed.

As a beginner starting out in postgre you can never rely on the
documentation because the same thing happens, you copy the code and make
your modifications and you get syntax error.

The same problem exists with the Perform statement. It does not work as
advertised, you cannot execute it in a function or in a script block.

Clearly define the limitations of your language so that developers don&#39;t
waste their time.

Coming from ms sql quite frankly I would never recommend postgress. The
barrior to entry into actualy writing code is too great.

can you specify, please, what is wrong?

The storing procedures in ms and pg are two different worlds - and start can be difficult.

Regards

Pavel 

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

pgsql-docs by date:

Previous
From: gerardmatt@gmail.com
Date:
Subject: [DOCS] nothing ever works
Next
From: duanebrinson@gmail.com
Date:
Subject: [DOCS] import CSV limits