mirror of
https://github.com/postgres/postgres.git
synced 2025-06-07 11:02:12 +03:00
That means you can now set your options in either or all of $PGDATA/configuration, some postmaster option (--enable-fsync=off), or set a SET command. The list of options is in backend/utils/misc/guc.c, documentation will be written post haste. pg_options is gone, so is that pq_geqo config file. Also removed were backend -K, -Q, and -T options (no longer applicable, although -d0 does the same as -Q). Added to configure an --enable-syslog option. changed all callers from TPRINTF to elog(DEBUG)
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* async.h
|
|
* Asynchronous notification: NOTIFY, LISTEN, UNLISTEN
|
|
*
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: async.h,v 1.14 2000/05/31 00:28:37 petere Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef ASYNC_H
|
|
#define ASYNC_H
|
|
|
|
extern bool Trace_notify;
|
|
|
|
/* notify-related SQL statements */
|
|
extern void Async_Notify(char *relname);
|
|
extern void Async_Listen(char *relname, int pid);
|
|
extern void Async_Unlisten(char *relname, int pid);
|
|
|
|
/* perform (or cancel) outbound notify processing at transaction commit */
|
|
extern void AtCommit_Notify(void);
|
|
extern void AtAbort_Notify(void);
|
|
|
|
/* signal handler for inbound notifies (SIGUSR2) */
|
|
extern void Async_NotifyHandler(SIGNAL_ARGS);
|
|
|
|
/*
|
|
* enable/disable processing of inbound notifies directly from signal handler.
|
|
* The enable routine first performs processing of any inbound notifies that
|
|
* have occurred since the last disable. These are meant to be called ONLY
|
|
* from the appropriate places in PostgresMain().
|
|
*/
|
|
extern void EnableNotifyInterrupt(void);
|
|
extern void DisableNotifyInterrupt(void);
|
|
|
|
#endif /* ASYNC_H */
|