From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: maccaroo@gmail.com
Subject: Restriction on comments
Date: Fri, 21 Oct 2022 05:49:03 +0000
Message-ID: <166633134369.627.13887489582934685556@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/15/sql-comment.html
Description:
I've recently been converting some DML which was intended for BigQuery to
use PostgreSQL 14. Using a python client (using sqlalchemy and the
postgresql+psycopg2 driver), I had successfully created a table and was
trying to add comments to the columns. All of this was previously done in a
single statement on BigQuery, but requires separate CREATE TABLE and COMMENT
ON COLUMN statements for PostgreSQL.
For one of the comment statements I received this error: "dict is not a
sequence". It turns out the culprit was that one of the comments had a '%'
character. I'm not familiar with restrictions on strings in PostgreSQL, but
it would be helpful to have a list of these.
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, maccaroo@gmail.com
Subject: Re: Restriction on comments
In-Reply-To: <166633134369.627.13887489582934685556@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