From d263ecfee7dd6badc8a21b772805a82cde0c8519 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 19 Feb 2011 00:52:26 +0000 Subject: [PATCH] Display a note as a note in the cursor.lastrowid docs --- doc/src/cursor.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/src/cursor.rst b/doc/src/cursor.rst index c983e8f5..01b14190 100644 --- a/doc/src/cursor.rst +++ b/doc/src/cursor.rst @@ -357,10 +357,12 @@ The ``cursor`` class last operation is not a single record insert, the attribute is set to ``None``. - PostgreSQL currently advices to not create OIDs on the tables and the - default for |CREATE-TABLE|__ is to not support them. The - |INSERT-RETURNING|__ syntax available from PostgreSQL 8.3 allows more - flexibility. + .. note:: + + PostgreSQL currently advices to not create OIDs on the tables and + the default for |CREATE-TABLE|__ is to not support them. The + |INSERT-RETURNING|__ syntax available from PostgreSQL 8.3 allows + more flexibility. .. |CREATE-TABLE| replace:: :sql:`CREATE TABLE` .. __: http://www.postgresql.org/docs/9.0/static/sql-createtable.html