mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* 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:
parent
fbc8775435
commit
b8a3e8575a
3 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue