summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorTom Lane2004-07-12 05:38:11 +0000
committerTom Lane2004-07-12 05:38:11 +0000
commitc14a43f657c33189582ca1a7a60ab419dc6164a5 (patch)
tree2c6f950a4d84c59bbd5add36564b6358f25f938c /src/bin
parentc5ff895c4884a9946a7f0bb74a2ae7b2aac34da8 (diff)
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.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/pg_dump/pg_dump.c11
1 files changed, 1 insertions, 10 deletions
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,