Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-263

PostgreSQL Error: Too many parameters specified for RAISE

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.08b
    • 1.7.09
    • Data
    • None
    • i2b2 Core
    • PostgreSQL

    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.

      Attachments

        Activity

          jmd86 Janice Donahoe created issue -
          jmd86 Janice Donahoe made changes -
          Field Original Value New Value
          Assignee Janice Donahoe [ jmd86 ]
          jmd86 Janice Donahoe made changes -
          Fix Version/s 1.7.09 [ 10306 ]
          jmd86 Janice Donahoe made changes -
          i2b2 Sponsored Project/s i2b2 Core [ 10196 ]
          Status New [ 10000 ] Open [ 1 ]
          jmd86 Janice Donahoe made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jmd86 Janice Donahoe made changes -
          Status In Progress [ 3 ] Ready to Test [ 10001 ]
          jmd86 Janice Donahoe made changes -
          Status Ready to Test [ 10001 ] Testing [ 10002 ]
          jmd86 Janice Donahoe made changes -
          Resolution Fixed [ 1 ]
          Status Testing [ 10002 ] Resolved [ 5 ]
          jmd86 Janice Donahoe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            jmd86 Janice Donahoe
            jmd86 Janice Donahoe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: