mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +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: parse_expr.h,v 1.4 1998/01/04 04:31:41 momjian Exp $
|
||||
* $Id: parse_expr.h,v 1.5 1998/01/16 23:21:01 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -23,7 +23,7 @@ extern Node *transformIdent(ParseState *pstate, Node *expr, int precedence);
|
||||
extern Oid exprType(Node *expr);
|
||||
extern Node *handleNestedDots(ParseState *pstate, Attr *attr,
|
||||
int *curr_resno, int precedence);
|
||||
extern Node *parser_typecast2(Node *expr, Oid exprType, Type tp, int typlen);
|
||||
extern Node *parser_typecast2(Node *expr, Oid exprType, Type tp, int attypmod);
|
||||
|
||||
#endif /* PARSE_EXPR_H */
|
||||
|
||||
|
Reference in New Issue
Block a user