-
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.
{"report":{"fcp":889.1000003814697,"ttfb":228.5,"pageVisibility":"visible","entityId":11183,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b626b528-55f9-4c23-b051-cc5de2288739","navigationType":0,"readyForUser":954.8999996185303,"redirectCount":0,"resourceLoadedEnd":788,"resourceLoadedStart":233.19999980926514,"resourceTiming":[{"duration":5.300000190734863,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/7fd763ecdf5ed1f47fc4d22fa8382e97-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/css/_super/batch.css","startTime":233.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":233.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":238.5,"responseStart":0,"secureConnectionStart":0},{"duration":5.40000057220459,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/898b8076c5e82f53cd816ca393e45a56-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?jira.create.linked.issue=true&richediton=true","startTime":233.39999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":233.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":238.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":409,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/4c9c503fe98f210445831b0d7b0cdc33-CDN/4x9nqn/820011/16zrvj4/49fa3aa3d35a2cc689cbf274e66cc41a/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":233.69999980926514,"connectEnd":563.3999996185303,"connectStart":537.8999996185303,"domainLookupEnd":537.8999996185303,"domainLookupStart":537.8999996185303,"fetchStart":233.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":564.6000003814697,"responseEnd":642.6999998092651,"responseStart":583.5,"secureConnectionStart":550.3999996185303},{"duration":442.3999996185303,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/694e598c1ae48b0f96655173631cd247-CDN/4x9nqn/820011/16zrvj4/f614b50eeb842ebd1ea7ab2903699907/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":233.80000019073486,"connectEnd":594.5,"connectStart":568.6999998092651,"domainLookupEnd":568.6999998092651,"domainLookupStart":568.6999998092651,"fetchStart":233.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":594.5,"responseEnd":676.1999998092651,"responseStart":614.5,"secureConnectionStart":581.3999996185303},{"duration":367.1000003814697,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/53f54e0ac3f00bb56b136b4d2fff2853-CDN/4x9nqn/820011/16zrvj4/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":234,"connectEnd":587.3999996185303,"connectStart":564.3000001907349,"domainLookupEnd":564.3000001907349,"domainLookupStart":564.1999998092651,"fetchStart":234,"redirectEnd":0,"redirectStart":0,"requestStart":587.5,"responseEnd":601.1000003814697,"responseStart":600.3999996185303,"secureConnectionStart":575.6000003814697},{"duration":379.69999980926514,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":234.10000038146973,"connectEnd":599,"connectStart":573.6999998092651,"domainLookupEnd":573.6999998092651,"domainLookupStart":573.6999998092651,"fetchStart":234.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":599.1000003814697,"responseEnd":613.8000001907349,"responseStart":612.8999996185303,"secureConnectionStart":586.1999998092651},{"duration":403.80000019073486,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":234.30000019073486,"connectEnd":624.3000001907349,"connectStart":601.1000003814697,"domainLookupEnd":601.1000003814697,"domainLookupStart":601.1000003814697,"fetchStart":234.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":624.3999996185303,"responseEnd":638.1000003814697,"responseStart":637,"secureConnectionStart":612.5},{"duration":9.699999809265137,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/30748292e4ca68be6947d7969829384b-CDN/4x9nqn/820011/16zrvj4/4f66da484ef7d95a2a604d3ab014374c/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":234.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":234.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":244.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":411.5,"initiatorType":"script","name":"https://community.i2b2.org/jira/rest/api/1.0/shortcuts/820011/a9e270f026ecabffc9a59343e5439391/shortcuts.js?context=issuenavigation&context=issueaction","startTime":234.60000038146973,"connectEnd":630.6999998092651,"connectStart":605,"domainLookupEnd":605,"domainLookupStart":605,"fetchStart":234.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":630.8000001907349,"responseEnd":646.1000003814697,"responseStart":645,"secureConnectionStart":617.8000001907349},{"duration":1.8999996185302734,"initiatorType":"link","name":"https://community.i2b2.org/jira/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":333.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":333.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":335.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":417.30000019073486,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/8087506fefd02b4096991c90836b49f6-CDN/4x9nqn/820011/16zrvj4/efa42a25652b26dfd802540c024826b3/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":333.69999980926514,"connectEnd":735.8999996185303,"connectStart":713,"domainLookupEnd":713,"domainLookupStart":713,"fetchStart":333.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":736,"responseEnd":751,"responseStart":750.1000003814697,"secureConnectionStart":724.3000001907349},{"duration":405.80000019073486,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":354.80000019073486,"connectEnd":746.1999998092651,"connectStart":723.1999998092651,"domainLookupEnd":723.1999998092651,"domainLookupStart":723.1999998092651,"fetchStart":354.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":746.3000001907349,"responseEnd":760.6000003814697,"responseStart":758.6999998092651,"secureConnectionStart":734.5},{"duration":249.89999961853027,"initiatorType":"script","name":"https://community.i2b2.org/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/4x9nqn/820011/16zrvj4/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":538.1000003814697,"connectEnd":774.1000003814697,"connectStart":750.8999996185303,"domainLookupEnd":750.8999996185303,"domainLookupStart":750.8999996185303,"fetchStart":538.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":774.1999998092651,"responseEnd":788,"responseStart":787,"secureConnectionStart":762.3000001907349},{"duration":136.70000076293945,"initiatorType":"xmlhttprequest","name":"https://community.i2b2.org/jira/rest/webResources/1.0/resources","startTime":829.8999996185303,"connectEnd":950.6000003814697,"connectStart":927.6000003814697,"domainLookupEnd":927.6000003814697,"domainLookupStart":927.6000003814697,"fetchStart":829.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":950.6999998092651,"responseEnd":966.6000003814697,"responseStart":966,"secureConnectionStart":938.8999996185303}],"fetchStart":1,"domainLookupStart":15,"domainLookupEnd":134,"connectStart":134,"connectEnd":172,"secureConnectionStart":146,"requestStart":172,"responseStart":229,"responseEnd":538,"domLoading":232,"domInteractive":1024,"domContentLoadedEventStart":1024,"domContentLoadedEventEnd":1059,"domComplete":1382,"loadEventStart":1382,"loadEventEnd":1383,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1000.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1001.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1001.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1004},{"name":"activityTabFullyLoaded","time":1064.6000003814697}],"measures":[],"correlationId":"af0f34394bcc1a","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":352,"dbReadsTimeInMs":38,"dbConnsTimeInMs":49,"applicationHash":"0629dd8d260e3954ece49053e565d01dabe11609","experiments":[]}}