thoroughly broken examples on the Dynamic SQL page

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: jacquesdereims(at)gmail(dot)com
Subject: thoroughly broken examples on the Dynamic SQL page
Date: 2020-02-27 15:52:36
Message-ID: 158281875655.30439.3164486065108716610@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/ecpg-dynamic.html
Description:

Has anyone tried the examples on the
https://www.postgresql.org/docs/11/ecpg-dynamic.html Dynamic SQL page? The
very first line in each example immediately throws a syntax error: "syntax
error at or near "exec"". Could we get this updated or a bug fixed? I'm
migrating from SQL Server and really need to know how to migrate dynamic SQL
in existing code.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2020-02-27 18:32:56 Re: 9.4. String Functions and Operators page does not document that encode adds line breaks
Previous Message PG Doc comments form 2020-02-27 14:48:44 explanation for random_page_cost is outdated