From c14a43f657c33189582ca1a7a60ab419dc6164a5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 12 Jul 2004 05:38:11 +0000 Subject: Remove TABLESPACE option of CREATE SEQUENCE; sequences will now always live in database or schema's default tablespace, as per today's discussion. Also, remove some unused keywords from the grammar (PATH, PENDANT, VERSION), and fix ALSO, which was added as a keyword but not added to the keyword classification lists, thus making it worse-than-reserved. --- src/bin/pg_dump/pg_dump.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/bin') diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 00793ebbced..c01ea6ad5ba 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -12,7 +12,7 @@ * by PostgreSQL * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.377 2004/06/25 17:20:26 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.378 2004/07/12 05:37:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -7298,15 +7298,6 @@ dumpSequence(Archive *fout, TableInfo *tbinfo) " CACHE %s%s", cache, (cycled ? "\n CYCLE" : "")); - /* Output tablespace clause if necessary */ - if (strlen(tbinfo->reltablespace) != 0 && - strcmp(tbinfo->reltablespace, - tbinfo->dobj.namespace->nsptablespace) != 0) - { - appendPQExpBuffer(query, " TABLESPACE %s", - fmtId(tbinfo->reltablespace)); - } - appendPQExpBuffer(query, ";\n"); ArchiveEntry(fout, tbinfo->dobj.catId, tbinfo->dobj.dumpId, -- cgit v1.2.3