aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-11 09:35:40 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-11 09:35:40 +0000
commitab9c87af48c8831a5bbd4b924e9200df92a78e0e (patch)
tree8de310cb838d579f12091820b061a2bfb24ac0ce /Frameworks/PostgresKit/Source/FLXPostgresConnection.h
parent7dd33a85a537c410cd3b31d661731b1f8d1e7d59 (diff)
downloadsequelpro-ab9c87af48c8831a5bbd4b924e9200df92a78e0e.tar.gz
sequelpro-ab9c87af48c8831a5bbd4b924e9200df92a78e0e.tar.bz2
sequelpro-ab9c87af48c8831a5bbd4b924e9200df92a78e0e.zip
Add the ability for the client application to set the PostgreSQL application name when connecting.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnection.h')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnection.h b/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
index 5ff6f06b..87ac46d3 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnection.h
@@ -38,6 +38,7 @@
NSString *_socketPath;
NSString *_encoding;
NSString *_connectionError;
+ NSString *_applicationName;
const char **_connectionParamNames;
const char **_connectionParamValues;
@@ -68,6 +69,7 @@
@property (readwrite, retain) NSString *database;
@property (readwrite, retain) NSString *password;
@property (readwrite, retain) NSString *socketPath;
+@property (readwrite, retain) NSString *applicationName;
@property (readonly) NSString *encoding;
@property (readonly) NSString *connectionError;