mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
New pg_attribute.atttypmod for type-specific information like
varchar length. Cleans up code so attlen is always length. Removed varchar() hack added earlier. Will fix bug in selecting varchar() fields, and varchar() can be variable length.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parsenodes.h,v 1.44 1998/01/15 19:00:11 momjian Exp $
|
||||
* $Id: parsenodes.h,v 1.45 1998/01/16 23:20:55 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -642,8 +642,8 @@ typedef struct TypeName
|
||||
char *name; /* name of the type */
|
||||
bool timezone; /* timezone specified? */
|
||||
bool setof; /* is a set? */
|
||||
int2 typmod; /* type modifier */
|
||||
List *arrayBounds; /* array bounds */
|
||||
int typlen; /* length for char() and varchar() */
|
||||
} TypeName;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user