|
22 | 22 | * |
23 | 23 | * |
24 | 24 | * IDENTIFICATION |
25 | | - * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.155 2000/07/04 16:57:18 momjian Exp $ |
| 25 | + * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.156 2000/07/04 16:57:49 momjian Exp $ |
26 | 26 | * |
27 | 27 | * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb |
28 | 28 | * |
@@ -3599,7 +3599,7 @@ setMaxOid(Archive *fout) |
3599 | 3599 | char sql[1024]; |
3600 | 3600 | int pos; |
3601 | 3601 |
|
3602 | | - res = PQexec(g_conn, "CREATE TEMP TABLE pg_dump_oid (dummy int4)"); |
| 3602 | + res = PQexec(g_conn, "CREATE TEMPORARY TABLE pg_dump_oid (dummy int4)"); |
3603 | 3603 | if (!res || |
3604 | 3604 | PQresultStatus(res) != PGRES_COMMAND_OK) |
3605 | 3605 | { |
@@ -3635,7 +3635,7 @@ setMaxOid(Archive *fout) |
3635 | 3635 | if (g_verbose) |
3636 | 3636 | fprintf(stderr, "%s maximum system oid is %u %s\n", |
3637 | 3637 | g_comment_start, max_oid, g_comment_end); |
3638 | | - pos = snprintf(sql, 1024, "CREATE TEMP TABLE pg_dump_oid (dummy int4);\n"); |
| 3638 | + pos = snprintf(sql, 1024, "CREATE TEMPORARY TABLE pg_dump_oid (dummy int4);\n"); |
3639 | 3639 | pos = pos + snprintf(sql+pos, 1024-pos, "COPY pg_dump_oid WITH OIDS FROM stdin;\n"); |
3640 | 3640 | pos = pos + snprintf(sql+pos, 1024-pos, "%-d\t0\n", max_oid); |
3641 | 3641 | pos = pos + snprintf(sql+pos, 1024-pos, "\\.\n"); |
|
0 commit comments