Fix for PostgreSQL stored procedure call fails due escaping call with curly braces,

  • Addresses #30256

Comment From: pivotal-cla

@venkateshguduru Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@venkateshguduru Thank you for signing the Contributor License Agreement!

Comment From: sbrannen

Please refrain from creating PRs with a title like Fix for #30256.

Instead, use a concise and descriptive title, like the one I've introduced for this PR.

See also: contributing guidelines

Comment From: snicoll

@venkateshguduru the instanceof looks a bit unusual to me. Shouldn't we try to abstract that using a method on CallMetaDataProvider that the postgres impl will implement. I am not sure what it should be and whether this is warranted though. The lack of tests is also problematic.

Comment From: snicoll

OK I am going to close this as I don't think we should do an instanceof there.