//
//  MHPGConnection.h
//  MHPostgresDB
//
//  Created by Angus Hardie on 08/04/2013.
//  Copyright (c) 2013 MalcolmHardie Solutions. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <PGSQLKit/PGSQLKit.h>
@interface MHPGConnection : NSObject
{
    
    PGSQLConnection* connection;
}

- (void)openConnection:(NSString*)server
                  port:(NSUInteger)port
              username:(NSString*)username
              password:(NSString*)password
              database:(NSString*)database;
- (void)close;

- (id) getMetaData;
- (PGSQLConnection*)connection;

- (id)createStatement;
@end
