mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* EOAdaptors/Postgres95/Postgres95SQLExpression.m
([Postgres95SQLExpression columnTypeStringForAttribute:]): Implement special handling for text types to ignore precision and width as suggested by Matt Rice <ratmice@yahoo.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@18952 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e6fab07914
commit
f37ceb618f
2 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-03-29 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOAdaptors/Postgres95/Postgres95SQLExpression.m
|
||||
([Postgres95SQLExpression columnTypeStringForAttribute:]):
|
||||
Implement special handling for text types to ignore precision
|
||||
and width as suggested by Matt Rice <ratmice@yahoo.com>.
|
||||
|
||||
2003-03-19 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* *.[hm] Use GNUSTEP in favor of NeXT_Foundation_LIBRARY
|
||||
|
|
|
@ -658,4 +658,21 @@ RCS_ID("$Id$")
|
|||
return finalEntitiesString;
|
||||
}
|
||||
|
||||
- (NSString *)columnTypeStringForAttribute:(EOAttribute *)attribute
|
||||
{
|
||||
NSString *extType = [attribute externalType];
|
||||
NSString *columnTypeString = nil;
|
||||
|
||||
if ([extType isEqualToString: @"text"])
|
||||
{
|
||||
columnTypeString = [NSString stringWithFormat: @"%@", extType];
|
||||
}
|
||||
else
|
||||
{
|
||||
columnTypeString = [super columnTypeStringForAttribute: attribute];
|
||||
}
|
||||
|
||||
return columnTypeString;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue