Generic SQL queries and PLpgSQL functions for PostgreSQL.
Compiled (some written) and tested by Asta1986 on PostgreSQL 13.
- Import table/column from CSV file.
- Import with header (if the first row contains column names).
- Export table/query result to CSV.
- Erase all schemas (except system ones) and contained objects in the current db.
- Set cell values of text columns in a table to lower case.
- Transform a string with google maps point coordinates to WGS84 WKT.