diff --git a/doc/src/cursor.rst b/doc/src/cursor.rst index ebfa90ad..73bb5375 100644 --- a/doc/src/cursor.rst +++ b/doc/src/cursor.rst @@ -524,6 +524,13 @@ The ``cursor`` class >>> cur.fetchall() [(6, 42, 'foo'), (7, 74, 'bar')] + .. note:: the name of the table is not quoted: if the table name + contains uppercase letters or special characters it must be quoted + with double quotes:: + + cur.copy_from(f, '"TABLE"') + + .. versionchanged:: 2.0.6 added the *columns* parameter. @@ -553,6 +560,12 @@ The ``cursor`` class 2|\N|dada ... + .. note:: the name of the table is not quoted: if the table name + contains uppercase letters or special characters it must be quoted + with double quotes:: + + cur.copy_to(f, '"TABLE"') + .. versionchanged:: 2.0.6 added the *columns* parameter.