Search code examples
Can I create and access a table in the same SQL function?...

postgresqlfunctionplpgsql

Read More
Why can PL/pgSQL functions have side effect, while SQL functions can't?...

sqlpostgresqlfunctionplpgsql

Read More
How to prevent 'invalid input syntax for type json' in Postgres, when records contain a mix ...

jsonpostgresqlplpgsql

Read More
How to return a set of composite type without cast in PL/pgSQL?...

postgresqlplpgsql

Read More
Avoid checks for each row, replace query by function?...

sqlpostgresqlplpgsqlsql-optimization

Read More
Postgresql 8.4 update query syntax error in plpgsql function...

postgresqlplpgsqlpostgresql-8.4

Read More
Declare variable set = select...

postgresqlvariablessetplpgsqldeclare

Read More
Invalid input syntax for integer POSTGRESQL...

postgresqlplpgsql

Read More
Stored procedure with inserts to two related tables failing on foreign key constraint...

postgresqlstored-proceduresplpgsql

Read More
PostgreSQL PL/pgSQL random value from array of values...

arrayspostgresqlrandomplpgsqlpostgresql-9.2

Read More
How can I optimize case statement with similar condition in PostgreSQL?...

postgresqlplpgsql

Read More
PL/pgSQL - %TYPE and ARRAY...

postgresqlplpgsql

Read More
How to generate an array of given size, with one field populated?...

arrayspostgresqlpolymorphismplpgsql

Read More
How do I get the type of an array's elements?...

arrayspostgresqlpolymorphismplpgsqlpostgresql-9.4

Read More
How to extract file extension from filepath field in PostgreSQL?...

postgresqlfileplpgsqlfile-extensionphp-pgsql

Read More
Caching when using a loop in PL/pgSQL...

postgresqlcachingpostgisplpgsql

Read More
Is a good idea do processing of a large amount of data directly on database?...

javadatabasepostgresqlplpgsql

Read More
How to use dynamic names in a column definition list?...

sqlpostgresqlpivot-tableplpgsql

Read More
What are '$$' used for in PL/pgSQL...

databasepostgresqlplpgsqldollar-signdollar-quoting

Read More
How to SELECT without error if table does not exist...

sqlpostgresqlplpgsqldynamic-sql

Read More
EXPLAIN ANALYZE within PL/pgSQL gives error: "query has no destination for result data"...

sqlpostgresqlplpgsqlexplain

Read More
Declaring a cursor in plpgsql fails...

postgresqlplpgsqlsupabase-database

Read More
ERROR: syntax error at or near "QUERY" QUERY EXECUTE 'set enable_parallel_append = off...

postgresqlplpgsql

Read More
Unnest multiple arrays in parallel...

arrayspostgresqlarraylistplpgsqlset-returning-functions

Read More
Delete data from child tables with Stored Procedure...

databasepostgresqlstored-proceduresplpgsql

Read More
Variables for identifiers inside IF EXISTS in a plpgsql function...

postgresqlpostgresql-9.1plpgsqldynamic-sqlexists

Read More
Count rows affected by DELETE...

sqlpostgresqlplpgsqlpostgresql-9.1postgresql-9.2

Read More
Using variables in a PL/pgSQL function...

postgresqlparameter-passingnaming-conventionsplpgsqlquotes

Read More
How to query a table whose name is built from a PL/pgSQL function result?...

sqlpostgresqlplpgsqlpartitioning

Read More
column does not exist when function return query execute plpgsql...

postgresqlplpgsql

Read More
BackNext