Skip to content

Commit 82121af

Browse files
committed
Avoid assuming that enum CreateStmtLikeOption is unsigned. Zdenek Kotala
1 parent 6317609 commit 82121af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/nodes/parsenodes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
16-
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.413 2009/11/06 21:57:57 adunstan Exp $
16+
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.414 2009/11/13 23:44:19 tgl Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -484,7 +484,7 @@ typedef enum CreateStmtLikeOption
484484
CREATE_TABLE_LIKE_INDEXES = 1 << 2,
485485
CREATE_TABLE_LIKE_STORAGE = 1 << 3,
486486
CREATE_TABLE_LIKE_COMMENTS = 1 << 4,
487-
CREATE_TABLE_LIKE_ALL = 0xFFFFFFFF
487+
CREATE_TABLE_LIKE_ALL = 0x7FFFFFFF
488488
} CreateStmtLikeOption;
489489

490490
/*

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