aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXConstants.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/FLXConstants.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/FLXConstants.h')
-rw-r--r--Frameworks/PostgresKit/Source/FLXConstants.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXConstants.h b/Frameworks/PostgresKit/Source/FLXConstants.h
index b3aeaed9..b14ba5c1 100644
--- a/Frameworks/PostgresKit/Source/FLXConstants.h
+++ b/Frameworks/PostgresKit/Source/FLXConstants.h
@@ -20,7 +20,11 @@
// License for the specific language governing permissions and limitations under
// the License.
-// Defaults
+// Connection defaults
+extern const NSUInteger FLXPostgresConnectionDefaultTimeout;
+extern const NSUInteger FLXPostgresConnectionDefaultServerPort;
+extern const NSUInteger FLXPostgresConnectionDefaultKeepAlive;
+
extern NSString *FLXPostgresConnectionDefaultEncoding;
extern NSString *FLXPostgresConnectionErrorDomain;
extern NSStringEncoding FLXPostgresConnectionDefaultStringEncoding;
@@ -32,7 +36,7 @@ extern NSString *FLXPostgresParameterSuperUser;
extern NSString *FLXPostgresParameterTimeZone;
extern NSString *FLXPostgresParameterIntegerDateTimes;
-// Value specifiers
+// Result value specifiers
extern const char *FLXPostgresResultValueMacAddr;
extern const char *FLXPostgresResultValueInet;
extern const char *FLXPostgresResultValueCidr;
@@ -42,3 +46,15 @@ extern const char *FLXPostgresResultValueTimeTZ;
extern const char *FLXPostgresResultValueTimestamp;
extern const char *FLXPostgresResultValueTimestmpTZ;
extern const char *FLXPostgresResultValueInterval;
+
+// Connection parameters
+extern const char *FLXPostgresKitApplicationName;
+extern const char *FLXPostgresApplicationParam;
+extern const char *FLXPostgresUserParam;
+extern const char *FLXPostgresHostParam;
+extern const char *FLXPostgresPasswordParam;
+extern const char *FLXPostgresPortParam;
+extern const char *FLXPostgresDatabaseParam;
+extern const char *FLXPostgresClientEncodingParam;
+extern const char *FLXPostgresKeepAliveParam;
+extern const char *FLXPostgresKeepAliveIntervalParam;