mirror of
https://github.com/postgres/postgres.git
synced 2025-11-05 00:03:54 -05:00
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering here, so make explicit checks. Add comments explaining all of this. Removed permissions check on SHOW command. Add examine_subclass to the game, rename to SQL_inheritance to fit the official data model better. Adjust documentation. Standalone backend needs to reset all options before it starts. To facilitate that, have IsUnderPostmaster be set by the postmaster itself, don't wait for the magic -p switch. Also make sure that all environment variables and argv's survive init_ps_display(). Use strdup where necessary. Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode 0600 -- having configuration files is no fun if you can't edit them.
18 lines
417 B
C
18 lines
417 B
C
/*
|
|
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
|
|
* statements
|
|
*
|
|
* $Id: variable.h,v 1.12 2000/06/22 22:31:23 petere Exp $
|
|
*
|
|
*/
|
|
#ifndef VARIABLE_H
|
|
#define VARIABLE_H
|
|
|
|
extern void SetPGVariable(const char *name, const char *value);
|
|
extern void GetPGVariable(const char *name);
|
|
extern void ResetPGVariable(const char *name);
|
|
|
|
extern void set_default_datestyle(void);
|
|
|
|
#endif /* VARIABLE_H */
|