From be761aa7103cb8df3225f1c17ac3e0db2839c4bb Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Tue, 23 Dec 2003 16:50:35 +0000 Subject: [PATCH] remove comments expressing doubt. adjust whitespace git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@943 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/postgresql.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/bacula/src/cats/postgresql.c b/bacula/src/cats/postgresql.c index ae8c478738..3a8f023606 100644 --- a/bacula/src/cats/postgresql.c +++ b/bacula/src/cats/postgresql.c @@ -364,15 +364,10 @@ POSTGRESQL_FIELD * my_postgresql_fetch_field(B_DB *mdb) for (i = 0; i < mdb->num_fields; i++) { Dmsg1(50, "filling field %d\n", i); - mdb->fields[i].name = PQfname (mdb->result, i); - - // I am not sure this returns the max width of the result set + mdb->fields[i].name = PQfname(mdb->result, i); mdb->fields[i].max_length = my_postgresql_max_length(mdb, i); - - // I am not sure this returns what we can use - mdb->fields[i].type = PQftype (mdb->result, i); - - mdb->fields[i].flags = 0; + mdb->fields[i].type = PQftype(mdb->result, i); + mdb->fields[i].flags = 0; Dmsg4(50, "my_postgresql_fetch_field finds field '%s' has length='%d' type='%d' and IsNull=%d\n", mdb->fields[i].name, mdb->fields[i].max_length, mdb->fields[i].type, -- 2.39.5