|
PostgreSQL Source Code git master
|
#include "lib/stringinfo.h"

Go to the source code of this file.
Data Structures | |
| struct | FilterStateData |
Typedefs | |
| typedef void(* | exit_function) (int status) |
Functions | |
| const char * | filter_object_type_name (FilterObjectType fot) |
| void | filter_init (FilterStateData *fstate, const char *filename, exit_function f_exit) |
| void | filter_free (FilterStateData *fstate) |
| void | pg_log_filter_error (FilterStateData *fstate, const char *fmt,...) pg_attribute_printf(2 |
| void bool | filter_read_item (FilterStateData *fstate, char **objname, FilterCommandType *comtype, FilterObjectType *objtype) |
| Enumerator | |
|---|---|
| FILTER_COMMAND_TYPE_NONE | |
| FILTER_COMMAND_TYPE_INCLUDE | |
| FILTER_COMMAND_TYPE_EXCLUDE | |
Definition at line 37 of file filter.h.
|
extern |
Definition at line 60 of file filter.c.
References fb(), free, and pg_log_error.
Referenced by read_dump_filters(), read_dumpall_filters(), and read_restore_filters().
|
extern |
Definition at line 36 of file filter.c.
References fb(), filename, initStringInfo(), and pg_log_error.
Referenced by read_dump_filters(), read_dumpall_filters(), and read_restore_filters().
|
extern |
Definition at line 82 of file filter.c.
References fb(), FILTER_OBJECT_TYPE_DATABASE, FILTER_OBJECT_TYPE_EXTENSION, FILTER_OBJECT_TYPE_FOREIGN_DATA, FILTER_OBJECT_TYPE_FUNCTION, FILTER_OBJECT_TYPE_INDEX, FILTER_OBJECT_TYPE_NONE, FILTER_OBJECT_TYPE_SCHEMA, FILTER_OBJECT_TYPE_TABLE, FILTER_OBJECT_TYPE_TABLE_AND_CHILDREN, FILTER_OBJECT_TYPE_TABLE_DATA, FILTER_OBJECT_TYPE_TABLE_DATA_AND_CHILDREN, FILTER_OBJECT_TYPE_TRIGGER, and pg_unreachable.
Referenced by read_dump_filters(), read_dumpall_filters(), and read_restore_filters().
|
extern |
Definition at line 392 of file filter.c.
References _, PQExpBufferData::data, fb(), FILTER_COMMAND_TYPE_EXCLUDE, FILTER_COMMAND_TYPE_INCLUDE, FILTER_COMMAND_TYPE_NONE, filter_get_keyword(), FILTER_OBJECT_TYPE_NONE, get_object_type(), initPQExpBuffer(), is_keyword_str, pg_get_line_buf(), pg_log_error, pg_log_filter_error(), read_pattern(), and str.
Referenced by read_dump_filters(), read_dumpall_filters(), and read_restore_filters().
|
extern |