mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Further code review for range types patch.
Fix some bugs in coercion logic and pg_dump; more comment cleanup; minor cosmetic improvements.
This commit is contained in:
@@ -2240,6 +2240,17 @@ typedef struct CreateEnumStmt
|
||||
List *vals; /* enum values (list of Value strings) */
|
||||
} CreateEnumStmt;
|
||||
|
||||
/* ----------------------
|
||||
* Create Type Statement, range types
|
||||
* ----------------------
|
||||
*/
|
||||
typedef struct CreateRangeStmt
|
||||
{
|
||||
NodeTag type;
|
||||
List *typeName; /* qualified name (list of Value strings) */
|
||||
List *params; /* range parameters (list of DefElem) */
|
||||
} CreateRangeStmt;
|
||||
|
||||
/* ----------------------
|
||||
* Alter Type Statement, enum types
|
||||
* ----------------------
|
||||
@@ -2253,17 +2264,6 @@ typedef struct AlterEnumStmt
|
||||
bool newValIsAfter; /* place new enum value after neighbor? */
|
||||
} AlterEnumStmt;
|
||||
|
||||
/* ----------------------
|
||||
* Create Type Statement, range types
|
||||
* ----------------------
|
||||
*/
|
||||
typedef struct CreateRangeStmt
|
||||
{
|
||||
NodeTag type;
|
||||
List *typeName; /* qualified name (list of Value strings) */
|
||||
List *params; /* range parameters (list of DefElem) */
|
||||
} CreateRangeStmt;
|
||||
|
||||
/* ----------------------
|
||||
* Create View Statement
|
||||
* ----------------------
|
||||
|
||||
Reference in New Issue
Block a user