Created
April 20, 2019 15:34
-
-
Save akornor/6b542403dcdb38ae75098296e2b355a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perfalytics.c:106:6: warning: no previous prototype for ‘perfalytics_background_worker_main’ [-Wmissing-prototypes] | |
void perfalytics_background_worker_main(Datum main_arg) pg_attribute_noreturn(); | |
^ | |
perfalytics.c: In function ‘perfalytics_background_worker_main’: | |
perfalytics.c:106:57: error: expected declaration specifiers before ‘pg_attribute_noreturn’ | |
void perfalytics_background_worker_main(Datum main_arg) pg_attribute_noreturn(); | |
^ | |
perfalytics.c:108:1: error: parameter ‘perfalytics_flush_query’ is initialized | |
const char * perfalytics_flush_query = | |
^ | |
perfalytics.c:119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:317:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:330:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:417:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:517:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:536:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:556:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:602:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:618:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:629:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
perfalytics.c:106:6: error: old-style parameter declarations in prototyped function definition | |
void perfalytics_background_worker_main(Datum main_arg) pg_attribute_noreturn(); | |
^ | |
perfalytics.c:731:1: error: expected ‘{’ at end of input | |
} | |
^ | |
perfalytics.c: At top level: | |
perfalytics.c:42:12: warning: ‘perfalytics_log_min_duration’ defined but not used [-Wunused-variable] | |
static int perfalytics_log_min_duration = -1; /* msec or -1 */ | |
^ | |
perfalytics.c:43:13: warning: ‘perfalytics_log_analyze’ defined but not used [-Wunused-variable] | |
static bool perfalytics_log_analyze = true; | |
^ | |
perfalytics.c:45:13: warning: ‘perfalytics_log_buffers’ defined but not used [-Wunused-variable] | |
static bool perfalytics_log_buffers = true; | |
^ | |
perfalytics.c:46:13: warning: ‘perfalytics_log_triggers’ defined but not used [-Wunused-variable] | |
static bool perfalytics_log_triggers = false; | |
^ | |
perfalytics.c:47:13: warning: ‘perfalytics_log_timing’ defined but not used [-Wunused-variable] | |
static bool perfalytics_log_timing = true; | |
^ | |
perfalytics.c:49:13: warning: ‘perfalytics_log_nested_statements’ defined but not used [-Wunused-variable] | |
static bool perfalytics_log_nested_statements = false; | |
^ | |
perfalytics.c:52:15: warning: ‘perfalytics_destination_url’ defined but not used [-Wunused-variable] | |
static char * perfalytics_destination_url; | |
^ | |
perfalytics.c:53:15: warning: ‘perfalytics_destination_endpoint’ defined but not used [-Wunused-variable] | |
static char * perfalytics_destination_endpoint; | |
^ | |
perfalytics.c:54:13: warning: ‘perfalytics_use_https’ defined but not used [-Wunused-variable] | |
static bool perfalytics_use_https = false; | |
^ | |
perfalytics.c:55:12: warning: ‘perfalytics_worker_naptime’ defined but not used [-Wunused-variable] | |
static int perfalytics_worker_naptime = 10; | |
^ | |
perfalytics.c:56:15: warning: ‘perfalytics_database’ defined but not used [-Wunused-variable] | |
static char * perfalytics_database; | |
^ | |
perfalytics.c:57:15: warning: ‘perfalytics_environment_id’ defined but not used [-Wunused-variable] | |
static char * perfalytics_environment_id; | |
^ | |
perfalytics.c:70:12: warning: ‘nesting_level’ defined but not used [-Wunused-variable] | |
static int nesting_level = 0; | |
^ | |
perfalytics.c:73:32: warning: ‘prev_ExecutorStart’ defined but not used [-Wunused-variable] | |
static ExecutorStart_hook_type prev_ExecutorStart = NULL; | |
^ | |
perfalytics.c:74:30: warning: ‘prev_ExecutorRun’ defined but not used [-Wunused-variable] | |
static ExecutorRun_hook_type prev_ExecutorRun = NULL; | |
^ | |
perfalytics.c:75:33: warning: ‘prev_ExecutorFinish’ defined but not used [-Wunused-variable] | |
static ExecutorFinish_hook_type prev_ExecutorFinish = NULL; | |
^ | |
perfalytics.c:76:30: warning: ‘prev_ExecutorEnd’ defined but not used [-Wunused-variable] | |
static ExecutorEnd_hook_type prev_ExecutorEnd = NULL; | |
GCC(1) GNU GCC(1) | |
^ | |
perfalytics.c:89:13: warning: ‘explain_ExecutorStart’ declared ‘static’ but never defined [-Wunused-function] | |
static void explain_ExecutorStart(QueryDesc *queryDesc, int eflags); | |
^ | |
perfalytics.c:92:13: warning: ‘explain_ExecutorRun’ declared ‘static’ but never defined [-Wunused-function] | |
static void explain_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, row_count_t count); | |
^ | |
perfalytics.c:97:13: warning: ‘explain_ExecutorFinish’ declared ‘static’ but never defined [-Wunused-function] | |
static void explain_ExecutorFinish(QueryDesc *queryDesc); | |
^ | |
perfalytics.c:98:13: warning: ‘explain_ExecutorEnd’ declared ‘static’ but never defined [-Wunused-function] | |
static void explain_ExecutorEnd(QueryDesc *queryDesc); | |
^ | |
perfalytics.c:100:23: warning: ‘perfalytics_explain_state’ declared ‘static’ but never defined [-Wunused-function] | |
static ExplainState * perfalytics_explain_state(QueryDesc *queryDesc, int explainFormat, bool log_verbose); | |
^ | |
perfalytics.c:101:23: warning: ‘non_analyze_explain_state’ declared ‘static’ but never defined [-Wunused-function] | |
static ExplainState * non_analyze_explain_state(void); | |
^ | |
perfalytics.c:102:14: warning: ‘query_to_explain_text’ declared ‘static’ but never defined [-Wunused-function] | |
static Datum query_to_explain_text(QueryDesc *queryDesc, ExplainState *es); | |
^ | |
perfalytics.c:104:13: warning: ‘perfalytics_sighup_handler’ declared ‘static’ but never defined [-Wunused-function] | |
static void perfalytics_sighup_handler(SIGNAL_ARGS); | |
^ | |
perfalytics.c:105:13: warning: ‘perfalytics_sigterm_handler’ declared ‘static’ but never defined [-Wunused-function] | |
static void perfalytics_sigterm_handler(SIGNAL_ARGS); | |
^ | |
make: *** [perfalytics.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment