Skip to content

Optimize some functions unnecessarily relying on BEGIN EXCEPTION blocs #233

@pedrogit

Description

@pedrogit

As stated in the plpgsql documentation: "A block containing an EXCEPTION clause is significantly more expensive to enter and exit than a block without one. Therefore, don't use EXCEPTION without need."

  • TT_IsInt() - Can be replace by a regular expression
  • TT_IsCastableTo()
  • TT_IsNumeric()
  • TT_IsBoolean()
  • TT_IsStringList()

Metadata

Metadata

Assignees

Labels

blockerPriority: Can't complete next milestone without fixing this issue.enhancementType: New feature or requesthelper functionsModule: Issues related to helper functions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions