38051b9465
* Add initial support for functions * Show functions definitions * Fix client tests * Fix schema objects search * Perform partial matching for functions * Add function test * Make sure to close client connections so that database could be dropped in tests * Fix lint * Allow to copy the view/functions definitions * Nits
8 lines
105 B
SQL
8 lines
105 B
SQL
SELECT
|
|
p.*,
|
|
pg_get_functiondef(oid) AS functiondef
|
|
FROM
|
|
pg_catalog.pg_proc p
|
|
WHERE
|
|
oid = $1::oid
|