Change prefix to PGSQL
Two letter prefixes are too risky to cause collisions. FossilOrigin-Name: 77c26b4fcecfc3e46c1e0b9412a9a88d0139604e2ad45e54b0c8734d464ea2c6
This commit is contained in:
parent
181e9b2e62
commit
d205d00765
20 changed files with 112 additions and 111 deletions
|
@ -18,12 +18,11 @@
|
|||
|
||||
#import <ObjFW/ObjFW.h>
|
||||
|
||||
#import "PGConnection.h"
|
||||
#import "PGConnectionFailedException.h"
|
||||
#import "ObjPgSQL.h"
|
||||
|
||||
@interface Test: OFObject <OFApplicationDelegate>
|
||||
{
|
||||
PGConnection *_connection;
|
||||
PGSQLConnection *_connection;
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -34,9 +33,9 @@ OF_APPLICATION_DELEGATE(Test)
|
|||
{
|
||||
OFString *username =
|
||||
[[OFApplication environment] objectForKey: @"USER"];
|
||||
PGResult *result;
|
||||
PGSQLResult *result;
|
||||
|
||||
_connection = [[PGConnection alloc] init];
|
||||
_connection = [[PGSQLConnection alloc] init];
|
||||
[_connection setParameters:
|
||||
[OFDictionary dictionaryWithKeysAndObjects: @"user", username,
|
||||
@"dbname", username,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue