]> git.sur5r.net Git - bacula/bacula/commitdiff
remove comments expressing doubt. adjust whitespace
authorDan Langille <dan@langille.org>
Tue, 23 Dec 2003 16:50:35 +0000 (16:50 +0000)
committerDan Langille <dan@langille.org>
Tue, 23 Dec 2003 16:50:35 +0000 (16:50 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@943 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/postgresql.c

index ae8c478738a628ec7abc5892ee239b321d0bee87..3a8f023606ea94c14ccd4ddb296f5a8d437b0e04 100644 (file)
@@ -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,