Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 152359 Details for
Bug 229321
Review Request :postgresql-pgpool-II : Connection pooling/replication server for PostgreSQL
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to fix 4. from comment #13
pgpool-II-1.0.2.diff (text/plain), 2.00 KB, created by
Ralf Corsepius
on 2007-04-12 06:34:55 UTC
(
hide
)
Description:
patch to fix 4. from comment #13
Filename:
MIME Type:
Creator:
Ralf Corsepius
Created:
2007-04-12 06:34:55 UTC
Size:
2.00 KB
patch
obsolete
>--- pgpool-II-1.0.2.orig/pool_process_query.c 2007-01-30 03:25:15.000000000 +0100 >+++ pgpool-II-1.0.2/pool_process_query.c 2007-04-12 08:17:54.000000000 +0200 >@@ -2450,7 +2450,7 @@ > strncpy(status[i].desc, "queries issued at the end of session", MAXDESCLEN); > i++; > >- strncpy(status[i].name, "print_timestamp", MAXDESCLEN); >+ strncpy(status[i].name, "print_timestamp", MAXNAMELEN); > snprintf(status[i].value, MAXVALLEN, "%d", pool_config->print_timestamp); > strncpy(status[i].desc, "if true print time stamp to each log line", MAXDESCLEN); > i++; >@@ -2575,24 +2575,24 @@ > if (BACKEND_INFO(j).backend_port == 0) > continue; > >- snprintf(status[i].name, MAXVALLEN, "backend_hostname%d", j); >+ snprintf(status[i].name, MAXNAMELEN, "backend_hostname%d", j); > snprintf(status[i].value, MAXVALLEN, "%s", BACKEND_INFO(j).backend_hostname); >- snprintf(status[i].desc, MAXVALLEN, "backend #%d hostname", j); >+ snprintf(status[i].desc, MAXDESCLEN, "backend #%d hostname", j); > i++; > >- snprintf(status[i].name, MAXVALLEN, "backend_port%d", j); >+ snprintf(status[i].name, MAXNAMELEN, "backend_port%d", j); > snprintf(status[i].value, MAXVALLEN, "%d", BACKEND_INFO(j).backend_port); >- snprintf(status[i].desc, MAXVALLEN, "backend #%d port number", j); >+ snprintf(status[i].desc, MAXDESCLEN, "backend #%d port number", j); > i++; > >- snprintf(status[i].name, MAXVALLEN, "backend_weight%d", j); >+ snprintf(status[i].name, MAXNAMELEN, "backend_weight%d", j); > snprintf(status[i].value, MAXVALLEN, "%f", BACKEND_INFO(j).backend_weight); >- snprintf(status[i].desc, MAXVALLEN, "weight of backend #%d", j); >+ snprintf(status[i].desc, MAXDESCLEN, "weight of backend #%d", j); > i++; > >- snprintf(status[i].name, MAXVALLEN, "backend status%d", j); >+ snprintf(status[i].name, MAXNAMELEN, "backend status%d", j); > snprintf(status[i].value, MAXVALLEN, "%d", BACKEND_INFO(j).backend_status); >- snprintf(status[i].desc, MAXVALLEN, "status of backend #%d", j); >+ snprintf(status[i].desc, MAXDESCLEN, "status of backend #%d", j); > i++; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229321
: 152359