py_sleep postgres function
This commit is contained in:
parent
2211e7c0ed
commit
3a5c28cced
5
test/support/sql/py_sleep.sql
Normal file
5
test/support/sql/py_sleep.sql
Normal file
@ -0,0 +1,5 @@
|
||||
CREATE OR REPLACE FUNCTION py_sleep(t FLOAT8)
|
||||
RETURNS void AS $$
|
||||
import time
|
||||
time.sleep(t)
|
||||
$$ LANGUAGE plpythonu;
|
Loading…
Reference in New Issue
Block a user