Create a standard function pg_sleep() to sleep for a specified amount of time.
Tom Lane <tgl@sss.pgh.pa.us>
Create a standard function pg_sleep() to sleep for a specified amount of time. Replace the former ad-hoc implementation used in the regression tests. Joachim Wieland
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +51 −1 |
| src/backend/utils/adt/misc.c | modified | +50 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +3 −1 |
| src/include/utils/builtins.h | modified | +2 −1 |
| src/test/regress/expected/stats.out | modified | +2 −2 |
| src/test/regress/input/create_function_1.source | modified | +0 −5 |
| src/test/regress/output/create_function_1.source | modified | +0 −4 |
| src/test/regress/regress.c | modified | +1 −17 |
| src/test/regress/sql/stats.sql | modified | +1 −1 |