Content-Length: 295585 | pFad | http://github.com/postgrespro/postgres_cluster/commit/de0d75ea2416eb86f9d686432bd8961b04a8d9eb

06 In CREATE SEQUENCE dump, put MINVALUE before MAXVALUE so it reads bet… · postgrespro/postgres_cluster@de0d75e · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/de0d75ea2416eb86f9d686432bd8961b04a8d9eb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy