From: Lele Gaifax Date: Fri, 15 Jun 2018 16:06:44 +0000 (+0200) Subject: Minor cosmetic tweaks to reST markup X-Git-Tag: rel_1_3_0b1~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0dd82f26703f56e5fda7fb6deb579d1f96ecab9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Minor cosmetic tweaks to reST markup --- diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 60fc55e634..bd2defc93e 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -257,9 +257,9 @@ which is in the ``public`` (i.e. default) schema will always have the .. seealso:: - `The Schema Search Path - `_ - - on the PostgreSQL website. + `The Schema Search Path + `_ + - on the PostgreSQL website. INSERT/UPDATE...RETURNING ------------------------- @@ -358,7 +358,6 @@ named constraint or by column inference: ) conn.execute(stmt) - * The :paramref:`.Insert.on_conflict_do_update.constraint` argument is used to specify an index directly rather than inferring it. This can be the name of a UNIQUE constraint, a PRIMARY KEY constraint, or an INDEX:: @@ -474,7 +473,9 @@ constraint violation which occurs:: .. seealso:: - `INSERT .. ON CONFLICT `_ - in the PostgreSQL documentation. + `INSERT .. ON CONFLICT + `_ + - in the PostgreSQL documentation. .. _postgresql_match: @@ -586,7 +587,7 @@ to the PostgreSQL dialect. .. _postgresql_partial_indexes: Partial Indexes -^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^ Partial indexes add criterion to the index definition so that the index is applied to a subset of rows. These can be specified on :class:`.Index` @@ -595,7 +596,7 @@ using the ``postgresql_where`` keyword argument:: Index('my_index', my_table.c.id, postgresql_where=my_table.c.value > 10) Operator Classes -^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^ PostgreSQL allows the specification of an *operator class* for each column of an index (see @@ -629,7 +630,7 @@ that is identified in the dictionary by name, e.g.:: Index Types -^^^^^^^^^^^^ +^^^^^^^^^^^ PostgreSQL provides several index types: B-Tree, Hash, GiST, and GIN, as well as the ability for users to create their own (see @@ -754,7 +755,7 @@ of :class:`.PGInspector`, which offers additional methods:: .. _postgresql_table_options: PostgreSQL Table Options -------------------------- +------------------------ Several options for CREATE TABLE are supported directly by the PostgreSQL dialect in conjunction with the :class:`.Table` construct: