
postgresql - What are the differences between "Stored …
13 The terms "stored procedure" and "stored function" are used interchangeably in PostgreSQL and are generally taken to mean the same thing. Other databases may differentiate between a …
postgresql - Passing parameters for dynamic SQL in a function ...
Oct 7, 2020 · I am trying to create a function which will dynamically create a unique table name, populate the table with a result set returned from another function, and return the table name …
postgresql - Function Performance - Database Administrators …
You can do some very interesting stuff using user defined functions (UDF) in postgresql. For instance, there's dozens of possible languages you can use. The built in pl/sql and pl/pgsql are …
postgresql - CONCAT used in INDEX causes ERROR: functions in …
I am facing the following error: ERROR: functions in index expression must be marked IMMUTABLE When trying to create index like this: CREATE INDEX full_phone_number ON …
postgresql - Postgres get function owner - Database …
Feb 6, 2020 · I would like to be able to get a table of function names and function owner names. Currently, this query returns a list of functions for a given schema: SELECT proname FROM …
In PostgreSQL, what is the difference between a "Stored …
Jan 5, 2018 · Scalar functions Set-Returning-Functions (SRF)s Internal functions Window functions Aggregate functions of all sorts User-Implemented functions (which in PostgreSQL …
PostgreSQL: Pass table as argument in function - Database ...
Jun 16, 2016 · I am discovering TYPE in PostgreSQL. I have a TABLE TYPE that some table must respect (interface). For example: CREATE TYPE dataset AS( ChannelId INTEGER …
information schema - PostgreSQL: How to list all stored functions …
Jul 25, 2013 · 17 Introduction: PostgreSQL database with several hundred of stored functions, including obsolete, not used etc. Problem I need to find out all the stored functions that have …
postgresql - How can I generate scripts for all functions in …
I am using pgAdmin version 1.10.5, and I've checked the properties and menu options but couldn't find anything on the subject. For example, I just want to generate a script that includes the func...
postgresql - Call multiple functions from trigger? - Database ...
I run PostgreSQL-9.2.4 Is it possible to call 2 functions from a trigger? Let's say I have two functions for two different tables to be executed if the following trigger fires: Trigger: CREATE …