diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-01-11 20:12:43 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-01-11 20:12:43 +0000 |
commit | 782eefc580a503db4773cd177b17dcc6fd33b058 (patch) | |
tree | 047dfd54ec77992eb816e7b2250fec5f584eb1fb /src/include/utils/builtins.h | |
parent | fb627b76ccc4c7074e37b6b94155864f6cbd1b23 (diff) | |
download | postgresql-782eefc580a503db4773cd177b17dcc6fd33b058.tar.gz postgresql-782eefc580a503db4773cd177b17dcc6fd33b058.zip |
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
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 97fbfdc341e..8ca212852c2 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.269 2006/01/08 07:00:26 neilc Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.270 2006/01/11 20:12:42 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -387,6 +387,7 @@ extern Datum pg_cancel_backend(PG_FUNCTION_ARGS); extern Datum pg_reload_conf(PG_FUNCTION_ARGS); extern Datum pg_tablespace_databases(PG_FUNCTION_ARGS); extern Datum pg_rotate_logfile(PG_FUNCTION_ARGS); +extern Datum pg_sleep(PG_FUNCTION_ARGS); /* not_in.c */ extern Datum int4notin(PG_FUNCTION_ARGS); |