[#1011206] The built in functions do not use the correct error codes.

View Trackers | Bugs | Download .csv | Monitor

Date:
2012-06-20 19:22
Priority:
3
State:
Open
Submitted by:
Johann Oskarsson (myrkraverk)
Assigned to:
Johann Oskarsson (myrkraverk)
Category:
PL/Java
Group:
2.0.0
Summary:
The built in functions do not use the correct error codes.

Detailed description
The built in functions SQLJ.INSTALL_JAR(), SQLJ.REPLACE_JAR() and SQLJ.REMOVE_JAR() do not return the correct error codes when the jar name exists or not, respectively.

According to the SQL standard part 13 JRT, SQLJ.INSTALL_JAR() should return 46002 when the jar name exists already in the database, SQLJ.REPLACE_JAR() 4600A and SQLJ.REMOVE_JAR() 4600B when it doesn't.

Followup

Message
Date: 2012-06-20 19:24
Sender: Johann Oskarsson

Fixed, without any documentation as of
src/java/pljava/org/postgresql/pljava/management/Commands.java 1.19

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge