Skip to content

Commit de0d75e

Browse files
committed
In CREATE SEQUENCE dump, put MINVALUE before MAXVALUE so it reads better.
1 parent c7e4be5 commit de0d75e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.558 2009/12/19 04:13:30 itagaki Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.559 2009/12/22 23:27:41 petere Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -11254,16 +11254,16 @@ dumpSequence(Archive *fout, TableInfo *tbinfo)
1125411254

1125511255
appendPQExpBuffer(query, " INCREMENT BY %s\n", incby);
1125611256

11257-
if (maxv)
11258-
appendPQExpBuffer(query, " MAXVALUE %s\n", maxv);
11259-
else
11260-
appendPQExpBuffer(query, " NO MAXVALUE\n");
11261-
1126211257
if (minv)
1126311258
appendPQExpBuffer(query, " MINVALUE %s\n", minv);
1126411259
else
1126511260
appendPQExpBuffer(query, " NO MINVALUE\n");
1126611261

11262+
if (maxv)
11263+
appendPQExpBuffer(query, " MAXVALUE %s\n", maxv);
11264+
else
11265+
appendPQExpBuffer(query, " NO MAXVALUE\n");
11266+
1126711267
appendPQExpBuffer(query,
1126811268
" CACHE %s%s",
1126911269
cache, (cycled ? "\n CYCLE" : ""));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy