* EOAdaptors/Postgres95/Postgres95Channel.m

([-_describeBasicEntityWithName:forModel:]): Ignore droped
        columns.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20594 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2005-01-22 10:20:35 +00:00
parent fbc8775435
commit b8a3e8575a
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-01-18 Peter Cooper <comrade@obverse.com>
* EOAdaptors/Postgres95/Postgres95Channel.m
([-_describeBasicEntityWithName:forModel:]): Ignore droped
columns.
2004-11-23 Matt Rice <ratmice@yahoo.com>
* EOControl/EOQualifier.m ([-filteredArrayUsingQualifier]): Handle

View file

@ -1547,7 +1547,8 @@ each key
forKey: @"tableOid"]];
stmt = [NSS_SWF: @"SELECT attname,typname,attnum "
@"FROM pg_attribute LEFT JOIN pg_type ON atttypid = oid "
@"WHERE attnum > 0 AND attrelid=%@", tableOid];
@"WHERE attnum > 0 AND attrelid=%@"
@"AND attisdropped IS FALSE", tableOid];
EOAdaptorDebugLog(@"Postgres95Adaptor: execute command:\n%@", stmt);
PQclear(_pgResult);

View file

@ -118,7 +118,7 @@ RCS_ID("$Id$")
return [NSArray arrayWithObjects: _keyValues count: _keyCount];
}
- (BOOL)isEqual: other
- (BOOL)isEqual: (id)other
{
unsigned short oCount;
int i;