Search code examples
Declare and return a custom type in PostgreSQL function...

sqlfunctionpostgresqlstored-proceduresplpgsql

Read More
Cast produces 'Returned type character varying does not match expected type character varying(8)...

databasepostgresqltypesplpgsqlvarchar

Read More
PostgreSQL - SQL state: 42601 syntax error...

databasepostgresqlplpgsqlbulkinsertdynamic-sql

Read More
PL/pgSQL checking if a row exists...

sqlpostgresqlplpgsqlpostgresql-9.1exists

Read More
Can I count on a simple case/switch plpgsql function to use a sane query plan?...

postgresqlplpgsql

Read More
INSERT from trigger not happening?...

sqlpostgresqltriggersplpgsql

Read More
PostgreSQL `IS NOT NULL` does not work properly for composite types...

postgresqlplpgsqlsql-nullcomposite-types

Read More
How to bind a variable in Postgres functions?...

postgresqlplpgsql

Read More
PostgreSQL plpgsql function issues...

postgresqlplpgsqlpostgresql-16

Read More
How to move schema to other tablespace...

sqlpostgresqlplpgsqldatabase-schematablespace

Read More
Postgres update Query for Array column...

sqlpostgresqlplpgsql

Read More
pgsql - return row containing data from multiple rows...

sqlpostgresqlreportplpgsql

Read More
supabase group by and populate foreign key function...

postgresqlplpgsqlsupabase

Read More
PostgreSQL cannot begin/end transactions in PL/pgSQL...

postgresqlstored-procedurestransactionsplpgsqlpostgresql-9.2

Read More
How to design a transaction that calls nested functions and only commits if all called nested functi...

sqlpostgresqlplpgsqlsupabase

Read More
PostgreSQL: Drop a function without parameters...

sqldatabasepostgresqlplpgsqldrop

Read More
Output PGSQL commands from inside of an anonymous block to a SQL file...

postgresqlplpgsql

Read More
PostgreSQL: Checking for NEW and OLD in a function for a trigger...

postgresqlplpgsqldatabase-triggerpostgresql-9.5

Read More
How to return a table's rowtype plus an additional column from a function?...

postgresqlplpgsqlreturn-typeset-returning-functions

Read More
Table name as a PostgreSQL function parameter...

functionpostgresqlplpgsqldynamic-sqlidentifier

Read More
Is SELECT or INSERT in a function prone to race conditions?...

sqlpostgresqlconcurrencyplpgsqlupsert

Read More
Create a temporary table in Redshift using a JSON string format parameter...

sqlpostgresqlamazon-redshiftplpgsql

Read More
Dynamic sql in plpgsql procedure with unknown number of bound variables...

postgresqlplpgsqldynamic-sql

Read More
Make dynamic INSERT inside function more readable...

postgresqluser-defined-functionsplpgsqldynamic-sql

Read More
How to create guid in PostgreSQL...

postgresqlplpgsqlguid

Read More
How to use $$ as string value inside pl/pgsql...

postgresqlplpgsql

Read More
Is there a workaround to importing foreign schema's functions in postgres...

sqlpostgresqlplpgsql

Read More
PostgreSQL custom week number - first week containing Feb 1st...

postgresqlcustomizationplpgsqlsql-functionweek-number

Read More
Query returned more than one row from INSERT ... RETURNING in function...

sqlpostgresqlplpgsql

Read More
'column reference "id" is ambiguous' error on function call that uses RETURNING...

sqlpostgresqlplpgsqlsql-function

Read More
BackNext