char *password = "";
char *client_encoding = NULL;
char *datestyle = NULL;
+ char *timezone = NULL;
char *unix_dir = "";
in_addr_t v_addr = INADDR_NONE;
client_encoding = val;
else if (strcmp("datestyle", key) == 0)
datestyle = val;
+ else if (strcmp("timezone", key) == 0)
+ timezone = val;
else if (strcmp("pool_size", key) == 0)
pool_size = atoi(val);
else {
pktbuf_put_string(&buf, datestyle);
}
+ if (timezone) {
+ pktbuf_put_string(&buf, "timezone");
+ pktbuf_put_string(&buf, timezone);
+ }
+
db->startup_params_len = pktbuf_written(&buf);
/* if user is forces, create fake object for it */