diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-01-16 23:21:07 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-01-16 23:21:07 +0000 |
| commit | c65ea0e040f08b59407cd74f8f0f0dd190169d46 (patch) | |
| tree | 5d46c03cb5ddd61ed5e0693b261965cb2fae8b95 /src/bin/pg_dump/pg_dump.h | |
| parent | d7427e4802fd4d7108e37544115cab83c13172ab (diff) | |
| download | postgresql-c65ea0e040f08b59407cd74f8f0f0dd190169d46.tar.gz | |
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.
Diffstat (limited to 'src/bin/pg_dump/pg_dump.h')
| -rw-r--r-- | src/bin/pg_dump/pg_dump.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h index 2e68710544..9aed251ce9 100644 --- a/src/bin/pg_dump/pg_dump.h +++ b/src/bin/pg_dump/pg_dump.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_dump.h,v 1.28 1997/12/04 01:31:28 scrappy Exp $ + * $Id: pg_dump.h,v 1.29 1998/01/16 23:20:43 momjian Exp $ * * Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2 * @@ -86,7 +86,7 @@ typedef struct _tableInfo * needed because the SQL tables will not * have the same order of attributes as * the POSTQUEL tables */ - int *attlen; /* attribute lengths */ + int *atttypmod; /* type-specific type modifier */ char *usename; int ncheck; /* # of CHECK expressions */ char **check_expr; /* [CONSTRAINT name] CHECK expressions */ |
