]> granicus.if.org Git - postgresql/commitdiff
Fix a couple of small things from D'Arcy's last patch
authorMarc G. Fournier <scrappy@hub.org>
Mon, 7 Oct 1996 21:17:01 +0000 (21:17 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 7 Oct 1996 21:17:01 +0000 (21:17 +0000)
Submitted by: D'Arcy Cain

src/bin/pg_dump/pg_dump.c

index 5de0b76d5bdf6d107d79467cec674eebe112a2b5..4910f921c8d605c443c208286bede652df61b7af 100644 (file)
@@ -20,7 +20,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.10 1996/10/07 03:30:37 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.11 1996/10/07 21:17:01 scrappy Exp $
  *
  * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
  *
@@ -1193,7 +1193,7 @@ dumpAggs(FILE* fout, AggInfo* agginfo, int numAggs,
 
 void dumpTables(FILE* fout, TableInfo *tblinfo, int numTables,
           InhInfo *inhinfo, int numInherits,
-          TypeInfo *tinfo, int numTypes, char *tablename)
+          TypeInfo *tinfo, int numTypes, const char *tablename)
 {
     int i,j,k;
     char q[MAXQUERYLEN];
@@ -1305,7 +1305,7 @@ dumpIndices(FILE* fout, IndInfo* indinfo, int numIndices,
     int i;
     int tableInd;
     const char *attname;  /* the name of the indexed attribute  */
-    const char *funcname; /* the name of the function to comput the index key from*/
+    char *funcname; /* the name of the function to comput the index key from*/
     int indkey;
 
     char q[MAXQUERYLEN];