db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r643978 - /db/derby/docs/branches/10.4/src/ref/rrefexcept71493.dita
Date Wed, 02 Apr 2008 17:18:12 GMT
Author: dyre
Date: Wed Apr  2 10:18:11 2008
New Revision: 643978

URL: http://svn.apache.org/viewvc?rev=643978&view=rev
Log:
10.4 release preparations: Update src/ref/rrefexcept71493.dita with new 
SQLStates.


Modified:
    db/derby/docs/branches/10.4/src/ref/rrefexcept71493.dita

Modified: db/derby/docs/branches/10.4/src/ref/rrefexcept71493.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.4/src/ref/rrefexcept71493.dita?rev=643978&r1=643977&r2=643978&view=diff
==============================================================================
--- db/derby/docs/branches/10.4/src/ref/rrefexcept71493.dita (original)
+++ db/derby/docs/branches/10.4/src/ref/rrefexcept71493.dita Wed Apr  2 10:18:11 2008
@@ -57,6 +57,14 @@
                             <entry colname="col2">Privilege not revoked from user <varname>&lt;authorizationID&gt;</varname>.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">01007</entry>
+                            <entry colname="col2">Role <varname>&lt;authorizationID&gt;</varname>
not revoked from authentication id <varname>&lt;authorizationID&gt;</varname>.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">01008</entry>
+                            <entry colname="col2">WITH ADMIN OPTION of role <varname>&lt;authorizationID&gt;</varname>
not revoked from authentication id <varname>&lt;authorizationID&gt;</varname>.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">0100E</entry>
                             <entry colname="col2">XX Attempt to return too many result
sets. </entry>
                         </row>
@@ -275,11 +283,55 @@
                             <entry colname="col2">User '<varname>&lt;authorizationID&gt;</varname>'
cannot hard upgrade database '<varname>&lt;databaseName&gt;</varname>'.
Only the database owner can perform this operation.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">08004</entry>
+                            <entry colname="col2">Connection refused to database '<varname>&lt;databaseName&gt;</varname>'
because it is in replication slave mode.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08004</entry>
+                            <entry colname="col2">User '<varname>&lt;authorizationID&gt;</varname>'
cannot issue a replication operation on database '<varname>&lt;databaseName&gt;</varname>'.
Only the database owner can perform this operation.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08004</entry>
+                            <entry colname="col2">Missing permission for user '<varname>&lt;authorizationID&gt;</varname>'
to shutdown system [<varname>&lt;exceptionMsg&gt;</varname>].</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08004</entry>
+                            <entry colname="col2">Cannot check system permission to
create database '<varname>&lt;databaseName&gt;</varname>' [<varname>&lt;exceptionMsg&gt;</varname>].</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08004</entry>
+                            <entry colname="col2">Missing permission for user '<varname>&lt;authorizationID&gt;</varname>'
to create database '<varname>&lt;databaseName&gt;</varname>' [<varname>&lt;exceptionMsg&gt;</varname>].</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08006</entry>
+                            <entry colname="col2">A network protocol error was encountered
and the connection has been terminated: <varname>&lt;error&gt;</varname></entry>
+                        </row>
+                        <row>
                             <entry colname="col1">08006</entry>
                             <entry colname="col2">An error occurred during connect
reset and the connection has been terminated.  See chained exceptions for details.</entry>
                         </row>
                         <row>
                             <entry colname="col1">08006</entry>
+                            <entry colname="col2"> SocketException: '<varname>&lt;error&gt;</varname>'</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08006</entry>
+                            <entry colname="col2">A communications error has been detected:
<varname>&lt;error&gt;</varname>.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08006</entry>
+                            <entry colname="col2">An error occurred during a deferred
connect reset and the connection has been terminated.  See chained exceptions for details.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08006</entry>
+                            <entry colname="col2">Insufficient data while reading from
the network - expected a minimum of <varname>&lt;number&gt;</varname>
bytes and received only <varname>&lt;number&gt;</varname> bytes.  The
connection has been terminated.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08006</entry>
+                            <entry colname="col2">Attempt to fully materialize lob
data that is too large for the JVM.  The connection has been terminated.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">08006</entry>
                             <entry colname="col2">Database '<varname>&lt;databaseName&gt;</varname>'
shutdown.</entry>
                         </row>
                     </tbody>
@@ -333,6 +385,29 @@
                 </tgroup>
             </table>
             <table>
+                <title>Class 0P: Invalid role specification</title>
+                <tgroup cols="2">
+                    <colspec colname="col1" colwidth="1*"/>
+                    <colspec colname="col2" colwidth="7.5*"/>
+                    <thead>
+                        <row valign="bottom">
+                            <entry colname="col1">SQLSTATE</entry>
+                            <entry colname="col2">Message Text</entry>
+                        </row>
+                    </thead>
+                    <tbody>
+                        <row>
+                            <entry colname="col1">0P000</entry>
+                            <entry colname="col2">Invalid role specification, role
does not exist: '<varname>&lt;roleName&gt;</varname>'.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">0P000</entry>
+                            <entry colname="col2">Invalid role specification, role
not granted to current user or PUBLIC: '<varname>&lt;roleName&gt;</varname>'.</entry>
+                        </row>
+                    </tbody>
+                </tgroup>
+            </table>
+            <table>
                 <title>Class 21: Cardinality Violation</title>
                 <tgroup cols="2">
                     <colspec colname="col1" colwidth="1*"/>
@@ -565,12 +640,12 @@
                     </thead>
                     <tbody>
                         <row>
-                            <entry colname="col1">25000</entry>
-                            <entry colname="col2">Invalid transaction state.</entry>
+                            <entry colname="col1">25001</entry>
+                            <entry colname="col2">Cannot close a connection while a
transaction is still active.</entry>
                         </row>
                         <row>
                             <entry colname="col1">25001</entry>
-                            <entry colname="col2">Cannot close a connection while a
transaction is still active.</entry>
+                            <entry colname="col2">Invalid transaction state: active
SQL transaction.</entry>
                         </row>
                         <row>
                             <entry colname="col1">25501</entry>
@@ -863,6 +938,10 @@
                             <entry colname="col2">Internal Error: invalid <varname>&lt;authorizationID&gt;</varname>
id in statement permission list.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">4251A</entry>
+                            <entry colname="col2">Statement <varname>&lt;value&gt;</varname>
can only be issued by database owner.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">42601</entry>
                             <entry colname="col2">In an ALTER TABLE statement, the
column '<varname>&lt;columnName&gt;</varname>' has been specified as NOT
NULL and either the DEFAULT clause was not specified or was specified as DEFAULT NULL.</entry>
                         </row>
@@ -920,7 +999,7 @@
                         </row>
                         <row>
                             <entry colname="col1">42818</entry>
-                            <entry colname="col2">Comparisons between '<varname>&lt;type&gt;</varname>'
and '<varname>&lt;type&gt;</varname>' are not supported.</entry>
+                            <entry colname="col2">Comparisons between '<varname>&lt;type&gt;</varname>'
and '<varname>&lt;type&gt;</varname>' are not supported. Types must be
comparable. String types must also have matching collation. If collation does not match, a
possible solution is to cast operands to force them to the default collation (e.g. SELECT
tablename FROM sys.systables WHERE CAST(tablename AS VARCHAR(128)) = 'T1')</entry>
                         </row>
                         <row>
                             <entry colname="col1">42820</entry>
@@ -959,6 +1038,14 @@
                             <entry colname="col2">The ORDER BY clause of a SELECT UNION
statement only supports unqualified column references and column position numbers. Other expressions
are not currently supported.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">42879</entry>
+                            <entry colname="col2">The ORDER BY clause may not contain
column '<varname>&lt;columnName&gt;</varname>', since the query specifies
DISTINCT and that column does not appear in the query result.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">4287A</entry>
+                            <entry colname="col2">The ORDER BY clause may not specify
an expression, since the query specifies DISTINCT.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">42884</entry>
                             <entry colname="col2">No authorized routine named '<varname>&lt;routineName&gt;</varname>'
of type '<varname>&lt;type&gt;</varname>' having compatible arguments
was found.</entry>
                         </row>
@@ -1003,6 +1090,10 @@
                             <entry colname="col2">An object cannot be created with
the schema name '<varname>&lt;schemaNamet&gt;</varname>'.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">4293A</entry>
+                            <entry colname="col2">A role cannot be created with the
name '<varname>&lt;authorizationID&gt;</varname>', the SYS prefix is reserved.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">42962</entry>
                             <entry colname="col2">Long column type column or parameter
'<varname>&lt;columnName&gt;</varname>' not permitted in declared global
temporary tables or procedure definitions. </entry>
                         </row>
@@ -1806,6 +1897,26 @@
                             <entry colname="col1">42ZA3</entry>
                             <entry colname="col2">The table will have collation type
<varname>&lt;type&gt;</varname> which is different than the collation
of the schema <varname>&lt;type&gt;</varname> hence this operation is
not supported .</entry>
                         </row>
+                        <row>
+                            <entry colname="col1">42ZB1</entry>
+                            <entry colname="col2">Parameter style DERBY_JDBC_RESULT_SET
is only allowed for table functions.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42ZB2</entry>
+                            <entry colname="col2">Table functions can only have parameter
style DERBY_JDBC_RESULT_SET.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42ZB3</entry>
+                            <entry colname="col2">XML is not allowed as the datatype
of a column returned by a table function.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42ZB4</entry>
+                            <entry colname="col2">'<varname>&lt;schemaName&gt;</varname>'.<varname>&lt;functionName&gt;</varname>'
does not identify a table function.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">42ZB5</entry>
+                            <entry colname="col2">Class '<varname>&lt;className&gt;</varname>'
implements VTICosting but does not provide a public, no-arg constructor.</entry>
+                        </row>
                     </tbody>
                 </tgroup>
             </table>
@@ -1890,26 +2001,6 @@
                         </row>
                         <row>
                             <entry colname="col1">58009</entry>
-                            <entry colname="col2">SocketException: '<varname>&lt;error&gt;</varname>'</entry>
-                        </row>
-                        <row>
-                            <entry colname="col1">58009</entry>
-                            <entry colname="col2">A communications error has been detected:
<varname>&lt;error&gt;</varname>.</entry>
-                        </row>
-                        <row>
-                            <entry colname="col1">58009</entry>
-                            <entry colname="col2">An error occurred during a deferred
connect reset and the connection has been terminated.  See chained exceptions for details.</entry>
-                        </row>
-                        <row>
-                            <entry colname="col1">58009</entry>
-                            <entry colname="col2">Insufficient data while reading from
the network - expected a minimum of <varname>&lt;number&gt;</varname>
bytes and received only <varname>&lt;number&gt;</varname> bytes.  The
connection has been terminated.</entry>
-                        </row>
-                        <row>
-                            <entry colname="col1">58009</entry>
-                            <entry colname="col2">Attempt to fully materialize lob
data that is too large for the JVM.  The connection has been terminated.</entry>
-                        </row>
-                        <row>
-                            <entry colname="col1">58009</entry>
                             <entry colname="col2">Network protocol exception: SCLDTA
length, <varname>&lt;length&gt;</varname>, is invalid for RDBCOLID.  The
connection has been terminated.</entry>
                         </row>
                         <row>
@@ -1921,10 +2012,6 @@
                             <entry colname="col2">Network protocol exception: PKGNAMCSN
length, <varname>&lt;length&gt;</varname>, is invalid at SQLAM <varname>&lt;value&gt;</varname>.
 The connection has been terminated.</entry>
                         </row>
                         <row>
-                            <entry colname="col1">58009</entry>
-                            <entry colname="col2">A network protocol error was encountered
and the connection has been terminated: <varname>&lt;error&gt;</varname></entry>
-                        </row>
-                        <row>
                             <entry colname="col1">58010</entry>
                             <entry colname="col2">A network protocol error was encountered.
 A connection could not be established because the manager <varname>&lt;value&gt;</varname>
at level <varname>&lt;value&gt;</varname> is not supported by the server.
</entry>
                         </row>
@@ -1980,6 +2067,10 @@
                             <entry colname="col2">Cannot remove jar file '<varname>&lt;fileName&gt;</varname>'
because it is on your derby.database.classpath '<varname>&lt;fileName&gt;</varname>'.</entry>
                         </row>
                         <row>
+                            <entry colname="col1">X0X0D</entry>
+                            <entry colname="col2">Invalid column array length '<varname>&lt;columnArrayLength&gt;</varname>'.
To return generated keys, column array must be of length 1 and contain only the identity column.</entry>
+                        </row>
+                        <row>
                             <entry colname="col1">X0X0E</entry>
                             <entry colname="col2">Table '<varname>&lt;tableName&gt;</varname>'
does not have an auto-generated column at column position '<varname>&lt;columnPosition&gt;</varname>'.</entry>
                         </row>
@@ -2913,6 +3004,14 @@
                             <entry colname="col1">XIE0R</entry>
                             <entry colname="col2">Import error on line <varname>&lt;lineNumber&gt;</varname>
of file <varname>&lt;fileName&gt;</varname>: <varname>&lt;details&gt;</varname>
</entry>
                         </row>
+                        <row>
+                            <entry colname="col1">XIE0S</entry>
+                            <entry colname="col2">The export operation was not performed,
because the specified output file (<varname>&lt;fileName&gt;</varname>)
already exists. Export processing will not overwrite an existing file, even if the process
has permissions to write to that file, due to security concerns, and to avoid accidental file
damage. Please either change the output file name in the export procedure arguments to specify
a file which does not exist, or delete the existing file, then retry the export operation.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XIE0T</entry>
+                            <entry colname="col2">The export operation was not performed,
because the specified large object auxiliary file (<varname>&lt;fileName&gt;</varname>)
already exists. Export processing will not overwrite an existing file, even if the process
has permissions to write to that file, due to security concerns, and to avoid accidental file
damage. Please either change the large object auxiliary file name in the export procedure
arguments to specify a file which does not exist, or delete the existing file, then retry
the export operation.</entry>
+                        </row>
                     </tbody>
                 </tgroup>
             </table>
@@ -3441,6 +3540,109 @@
                         <row>
                             <entry colname="col1">XN019</entry>
                             <entry colname="col2">Error executing a <varname>&lt;value&gt;</varname>,
server returned <varname>&lt;value&gt;</varname>.</entry>
+                        </row>
+                    </tbody>
+                </tgroup>
+            </table>
+            <table>
+                <title>Class XRE: Replication Exceptions</title>
+                <tgroup cols="2">
+                    <colspec colname="col1" colwidth="1*"/>
+                    <colspec colname="col2" colwidth="7.5*"/>
+                    <thead>
+                        <row valign="bottom">
+                            <entry colname="col1">SQLSTATE</entry>
+                            <entry colname="col2">Message Text</entry>
+                        </row>
+                    </thead>
+                    <tbody>
+                        <row>
+                            <entry colname="col1">XRE00</entry>
+                            <entry colname="col2">This LogFactory module does not support
replicatiosn.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE01</entry>
+                            <entry colname="col2">The log received from the master
is corrupted.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE02</entry>
+                            <entry colname="col2">Master and Slave at different versions.
Unable to proceed with Replication.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE03</entry>
+                            <entry colname="col2">Unexpected replication error. See
derby.log for details.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE04</entry>
+                            <entry colname="col2">Could not establish a connection
to the peer of the replicated database '<varname>&lt;dbname&gt;</varname>'
on address '<varname>&lt;hostname&gt;</varname>:<varname>&lt;portname&gt;</varname>'.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE04</entry>
+                            <entry colname="col2">Connection lost for replicated database
'<varname>&lt;dbname&gt;</varname>'.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE05</entry>
+                            <entry colname="col2">The log files on the master and slave
are not in synch for replicated database '<varname>&lt;dbname&gt;</varname>'.
The master log instant is <varname>&lt;masterfile&gt;</varname>:<varname>&lt;masteroffset&gt;</varname>,
whereas the slave log instant is <varname>&lt;slavefile&gt;</varname>:<varname>&lt;slaveoffset&gt;</varname>.
This is FATAL for replication - replication will be stopped.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE06</entry>
+                            <entry colname="col2">The connection attempts to the replication
slave for the database <varname>&lt;dbname&gt;</varname> exceeded the
specified timeout period.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE07</entry>
+                            <entry colname="col2">Could not perform operation because
the database is not in replication master mode.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE08</entry>
+                            <entry colname="col2">Replication slave mode started successfully
for database '<varname>&lt;dbname&gt;</varname>'. Connection refused because
the database is in replication slave mode. </entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE09</entry>
+                            <entry colname="col2">Cannot start replication slave mode
for database '<varname>&lt;dbname&gt;</varname>'. The database has already
been booted. </entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE10</entry>
+                            <entry colname="col2">Conflicting attributes specified.
See reference manual for attributes allowed in combination with replication attribute '<varname>&lt;attribute&gt;</varname>'.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE11</entry>
+                            <entry colname="col2">Could not perform operation '<varname>&lt;command&gt;</varname>'
because the database '<varname>&lt;dbname&gt;</varname>' has not been
booted.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE12</entry>
+                            <entry colname="col2">Replication network protocol error
for database '<varname>&lt;dbname&gt;</varname>'. Expected message type
'<varname>&lt;expectedtype&gt;</varname>', but received type '<varname>&lt;receivedtype&gt;</varname>'.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE20</entry>
+                            <entry colname="col2">Failover performed successfully for
database '<varname>&lt;dbname&gt;</varname>', the database has been shutdown.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE21</entry>
+                            <entry colname="col2">Error occurred while performing failover
for database '<varname>&lt;dbname&gt;</varname>', Failover attempt was
aborted.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE22</entry>
+                            <entry colname="col2">Replication master has already been
booted for database '<varname>&lt;dbname&gt;</varname>'</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE23</entry>
+                            <entry colname="col2">Replication master cannot be started
since unlogged operations are in progress, unfreeze to allow unlogged operations to complete
and restart replication</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE40</entry>
+                            <entry colname="col2">Could not perform operation because
the database is not in replication slave mode.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE41</entry>
+                            <entry colname="col2">Replication operation 'failover'
or 'stopSlave' refused on the slave database because the connection with the master is working.
Issue the 'failover' or 'stopMaster' operation on the master database instead.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE42</entry>
+                            <entry colname="col2">Replicated database '<varname>&lt;dbname&gt;</varname>'
shutdown.</entry>
+                        </row>
+                        <row>
+                            <entry colname="col1">XRE43</entry>
+                            <entry colname="col2">Unexpected error when trying to stop
replication slave mode. To stop repliation slave mode, use operation 'stopSlave' or 'failover'.</entry>
                         </row>
                     </tbody>
                 </tgroup>



Mime
View raw message