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/catalog/pg_proc.h | |
| parent | fb627b76ccc4c7074e37b6b94155864f6cbd1b23 (diff) | |
| download | postgresql-782eefc580a503db4773cd177b17dcc6fd33b058.tar.gz | |
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/catalog/pg_proc.h')
| -rw-r--r-- | src/include/catalog/pg_proc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index 7b78e78fcc..6f5ec17c45 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.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/catalog/pg_proc.h,v 1.390 2006/01/08 07:00:25 neilc Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.391 2006/01/11 20:12:39 tgl Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -3025,6 +3025,8 @@ DATA(insert OID = 2624 ( pg_read_file PGNSP PGUID 12 f f t f v 3 25 "25 20 20" DESCR("Read text from a file"); DATA(insert OID = 2625 ( pg_ls_dir PGNSP PGUID 12 f f t t v 1 25 "25" _null_ _null_ _null_ pg_ls_dir - _null_ )); DESCR("List all files in a directory"); +DATA(insert OID = 2626 ( pg_sleep PGNSP PGUID 12 f f t f v 1 2278 "701" _null_ _null_ _null_ pg_sleep - _null_ )); +DESCR("Sleep for the specified time in seconds"); /* Aggregates (moved here from pg_aggregate for 7.3) */ |
