aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXConstants.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-10 11:09:56 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-10 11:09:56 +0000
commit7dd33a85a537c410cd3b31d661731b1f8d1e7d59 (patch)
tree2881a6fc037767140f0d0a0eaed5000a58c98c09 /Frameworks/PostgresKit/Source/FLXConstants.h
parent12ad4fae862bc157cd133b42ed8f204bc273058a (diff)
downloadsequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.tar.gz
sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.tar.bz2
sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.zip
Rework type handling; reducing the number of paremeters being passed around as well as libpq calls.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXConstants.h')
-rw-r--r--Frameworks/PostgresKit/Source/FLXConstants.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXConstants.h b/Frameworks/PostgresKit/Source/FLXConstants.h
index 95ab17f6..b3aeaed9 100644
--- a/Frameworks/PostgresKit/Source/FLXConstants.h
+++ b/Frameworks/PostgresKit/Source/FLXConstants.h
@@ -20,14 +20,6 @@
// License for the specific language governing permissions and limitations under
// the License.
-// Result set row types
-typedef enum
-{
- FLXPostgresResultRowAsArray = 1,
- FLXPostgresResultRowAsDictionary = 2
-}
-FLXPostgresResultRowType;
-
// Defaults
extern NSString *FLXPostgresConnectionDefaultEncoding;
extern NSString *FLXPostgresConnectionErrorDomain;
@@ -39,3 +31,14 @@ extern NSString *FLXPostgresParameterClientEncoding;
extern NSString *FLXPostgresParameterSuperUser;
extern NSString *FLXPostgresParameterTimeZone;
extern NSString *FLXPostgresParameterIntegerDateTimes;
+
+// Value specifiers
+extern const char *FLXPostgresResultValueMacAddr;
+extern const char *FLXPostgresResultValueInet;
+extern const char *FLXPostgresResultValueCidr;
+extern const char *FLXPostgresResultValueDate;
+extern const char *FLXPostgresResultValueTime;
+extern const char *FLXPostgresResultValueTimeTZ;
+extern const char *FLXPostgresResultValueTimestamp;
+extern const char *FLXPostgresResultValueTimestmpTZ;
+extern const char *FLXPostgresResultValueInterval;