Name of the stored procedure
OptionalschemaSchema where the stored procedure belongs
OptionalparamsInput parameters
The procedure body (SQL statements)
OptionalreturnReturn type (for functions)
OptionallanguageLanguage (SQL, PL/pgSQL, etc.)
OptionalreplaceIf true, uses CREATE OR REPLACE
OptionalifIf true, does not throw if already exists
OptionalcommentOptional comment
Options for creating a stored procedure