Search code examples
SQL Error [42804]: ERROR: structure of query does not match function result type...


postgresqlparameter-passingplpgsqlset-returning-functions

Read More
How to return multiple rows from PL/pgSQL function?...


postgresqlplpgsql

Read More
How to improve performance of a function with cursors in PostgreSQL?...


postgresqlfunctionplpgsqldatabase-performancedatabase-cursor

Read More
Dynamically generated CURSOR in Postgresql...


postgresqldynamicplpgsqldatabase-cursor

Read More
Counting number of weekdays between two dates...


postgresqltime-seriesplpgsql

Read More
How to declare an array of rowtype in a PostgreSQL function?...


arraysfunctionpostgresqlaggregate-functionsplpgsql

Read More
Is there a way to create a dynamic number of columns in a plpgsql function return value?...


sqlpostgresqlplpgsql

Read More
Loop through columns of RECORD...


postgresqlloopsfor-looprecordplpgsql

Read More
array_length() of an empty array returning NULL...


arrayspostgresqlplpgsql

Read More
Error at "OLD <> NEW" when creating function in Liquibase...


postgresqlplpgsqlliquibase

Read More
How to update type of all columns with the same name in all tables in one query in Postgres?...


sqlpostgresqlplpgsqlinformation-schema

Read More
RETURN cannot have a parameter in function returning set while returning from function...


postgresqlfunctionpivotplpgsqlreturn-type

Read More
IP increment function in PL/pgSQL...


postgresqlplpgsql

Read More
Error when creating a gin index with table of millions of documents...


postgresqlerror-handlingplpgsql

Read More
PostgreSQL: Combine two JSON objects into a single JSON object...


sqlpostgresqlsubqueryplpgsqlpostgres15

Read More
PostgreSQL Exception Handling...


postgresqlplpgsql

Read More
How to initialize a rowtype array in pl/pgsql?...


postgresqlplpgsql

Read More
Return zero if no record is found...


sqlpostgresqlnullplpgsqlcoalesce

Read More
How to identify slow queries in PostgreSQL function?...


postgresqlfunctionperformancequery-optimizationplpgsql

Read More
postgres function that takes the result of a select query...


sqlpostgresqlplpgsql

Read More
ERROR: function pg_catalog.extract(unknown, integer) does not exist...


sqlpostgresqlplpgsqlpartitioning

Read More
"ERROR: query has no destination for result data" for function with INSERT...


postgresqlplpgsql

Read More
PostgreSQL table variable...


sqlpostgresqlplpgsqltable-variable

Read More
Get default serial value after INSERT inside PL/pgSQL...


postgresqlplpgsqlsql-insertsql-returningnextval

Read More
How to execute a query multiple times in PostgreSQL...


sqlpostgresqlplpgsql

Read More
Dynamic SELECT INTO in PL/pgSQL function...


postgresqlvariable-assignmentplpgsqldynamic-sqlstored-functions

Read More
How to use SIMILAR TO with variables...


postgresqlpattern-matchingplpgsql

Read More
How do I create a nested function in PL/pgSQL?...


postgresqlscopeplpgsqlpostgresql-9.5

Read More
How to log queries inside PLPGSQL with inlined parameter values...


postgresqlloggingprepared-statementplpgsqlsql-execution-plan

Read More
Execute multiple functions together without losing performance...


postgresqlplpgsqldatabase-performancequery-performancepostgresql-performance

Read More
BackNext