Skip to content

Commit 563ea2d

Browse files
committed
out_pgsql: pass connection options to postgresql client
Signed-off-by: Turkalp Burak Kayrancioglu <[email protected]>
1 parent e23c286 commit 563ea2d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

plugins/out_pgsql/pgsql.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct flb_pgsql_config {
6767
/* instance reference */
6868
struct flb_output_instance *ins;
6969

70-
/* connections */
70+
/* connections options */
7171
const char *conn_options;
7272

7373
/* connections pool */

plugins/out_pgsql/pgsql_connections.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ void *pgsql_create_connection(struct flb_pgsql_config *ctx)
5555
return NULL;
5656
}
5757

58-
flb_plg_debug(ctx->ins, "connection_options: %s", ctx->conn_options);
5958
conn->conn = PQsetdbLogin(ctx->db_hostname,
6059
ctx->db_port,
6160
ctx->conn_options,

0 commit comments

Comments
 (0)