8000 Public API · postgres-haskell/postgres-wire@fe7e7f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe7e7f4

Browse files
8000
Public API
1 parent 45c8f03 commit fe7e7f4

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

src/Database/PostgreSQL/Driver.hs

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
1-
module Database.PostgreSQL.Driver where
1+
module Database.PostgreSQL.Driver
2+
(
3+
-- * Settings
4+
ConnectionSettings(..)
5+
, TlsMode
6+
, defaultConnectionSettings
7+
-- * Connection
8+
, Connection
9+
, connect
10+
, close
11+
-- * Information about connection
12+
, getServerVersion
13+
, getServerEncoding
14+
, getIntegerDatetimes
15+
-- * Queries
16+
, Query(..)
17+
, Oid(..)
18+
, Format(..)
19+
, sendBatch
20+
, sendBatchAndSync
21+
, sendBatchAndFlush
22+
, sendSync
23+
, sendFlush
24+
, readNextData
25+
, readReadyForQuery
26+
, sendSimpleQuery
27+
, describeStatement
28+
-- * Errors
29+
, Error(..)
30+
, AuthError(..)
31+
, ErrorDesc(..)
32+
) where
33+
34+
import Database.PostgreSQL.Protocol.Types
235

336
import Database.PostgreSQL.Driver.Connection
437
import Database.PostgreSQL.Driver.Settings
38+
import Database.PostgreSQL.Driver.Query
39+
import Database.PostgreSQL.Driver.Error
540

0 commit comments

Comments
 (0)
0