Description
Three of the create stored procedures scripts for PostgreSQL will return the following error when they are run:
"Too many parameters specified for RAISE"
The three scripts that have the problem are:
"create_temp_patient_table"
"create_temp_pid_table"
"create_temp_eid_table"
LINE CAUSING THE ERROR:
The following line can be found in all three scripts and is causing the errors:
RAISE NOTICE '%%%', SQLSTATE, ' - ' , SQLERRM;
REASON:
In PostgreSQL ‘RAISE NOTICE’ can only have two parameters defined.
"Too many parameters specified for RAISE"
The three scripts that have the problem are:
"create_temp_patient_table"
"create_temp_pid_table"
"create_temp_eid_table"
LINE CAUSING THE ERROR:
The following line can be found in all three scripts and is causing the errors:
RAISE NOTICE '%%%', SQLSTATE, ' - ' , SQLERRM;
REASON:
In PostgreSQL ‘RAISE NOTICE’ can only have two parameters defined.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Janice Donahoe [ jmd86 ] |
Fix Version/s | 1.7.09 [ 10306 ] |
i2b2 Sponsored Project/s | i2b2 Core [ 10196 ] | |
Status | New [ 10000 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Ready to Test [ 10001 ] |
Status | Ready to Test [ 10001 ] | Testing [ 10002 ] |
Resolution | Fixed [ 1 ] | |
Status | Testing [ 10002 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |