1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* async.h--
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1998-09-01 06:40:42 +02:00
|
|
|
* $Id: async.h,v 1.9 1998/09/01 04:35:22 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef ASYNC_H
|
|
|
|
#define ASYNC_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1996-11-08 07:02:30 +01:00
|
|
|
#include <nodes/memnodes.h>
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1997-09-08 04:41:22 +02:00
|
|
|
extern void Async_NotifyHandler(SIGNAL_ARGS);
|
|
|
|
extern void Async_Notify(char *relname);
|
|
|
|
extern void Async_NotifyAtCommit(void);
|
|
|
|
extern void Async_NotifyAtAbort(void);
|
|
|
|
extern void Async_Listen(char *relname, int pid);
|
1998-08-25 23:37:08 +02:00
|
|
|
extern void Async_Unlisten(char *relname, int pid);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
extern GlobalMemory notifyContext;
|
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* ASYNC_H */
|