Commit Graph

1885 Commits (1dc7133a63b463aec4cf79a19dfa64e38b374211)

Author SHA1 Message Date
Jack Christensen 4eb597d20b Rename pgx.Connection to pgx.Conn 2014-05-17 13:11:30 -05:00
Jack Christensen 4f67f16296 Add links to examples
fixes #24
2014-05-09 11:27:17 -05:00
Jack Christensen 13a6cdd66c Add ParseURI 2014-05-09 09:36:09 -05:00
Jack Christensen 8b2a3edb62 ConnectionParameters.Socket now refers to socket directory
This makes PGX behave more like libpq

* But for backward compatibility still accept complete file names.
2014-05-09 08:11:14 -05:00
Jack Christensen 75ca2b3b1c Remove unnecessary read
* Add benchmark for SelectValueTo
2014-04-25 13:49:36 -06:00
Jack Christensen 4829cd4ebc Remove unnecessary read 2014-04-25 12:47:24 -06:00
Jack Christensen a0bfe4eab8 Fix WaitForNotification when it times out 2014-04-25 10:03:11 -06:00
Jack Christensen c6a186a267 Buffer reads - big performance win 2014-04-24 21:44:22 -06:00
Jack Christensen 7ee9b3c7ee Remove unnecessary defer 2014-04-24 21:26:04 -06:00
Jack Christensen 97f9fe2209 Remove migrate package
Package now lives at github.com/JackC/tern/migrate
2014-04-24 20:56:30 -06:00
Jack Christensen 84cc10595c Connect as OS user if no user specified 2014-04-22 21:03:33 -05:00
Jack Christensen 97d4ef09ce Remove spurious file 2014-04-19 17:10:42 -05:00
Jack Christensen c9038acdd0 Fix spacing 2014-04-19 16:01:00 -05:00
Jack Christensen 2506e2830f Add Migrator.LoadMigrations 2014-04-19 16:00:30 -05:00
Jack Christensen 7ef0136d2d Add irreversible migration catching 2014-04-18 23:40:19 -05:00
Jack Christensen d6614c4e3a Migrate can now migrate up and down 2014-04-18 23:11:54 -05:00
Jack Christensen 9e5a3ef0d2 Fix: Prepared statements now support NULL arguments 2014-04-02 15:52:33 -04:00
Jack Christensen d4c2a2f18b SanitizeSql now supports nil 2014-01-18 22:13:50 -06:00
Jack Christensen 06d75e0fee Add Transaction and TransactionIso to ConnectionPool
fixes #25
2014-01-15 08:16:37 -06:00
Jack Christensen 02e4506ffb Update README.md for Go 1.2
Remove mention of Go's inability to have a maximum connection pool
size as that issue has been resolved in Go 1.2.
2013-12-10 08:28:01 -06:00
Jack Christensen f0a3d22571 Use testing.TB interface for shared test/benchmark helpers 2013-12-10 08:25:30 -06:00
Jack Christensen f76489f7d7 Add basic logging to pgx
fixes #21
2013-11-05 15:09:50 -06:00
Jack Christensen 007be95992 Add TLS to README.md 2013-10-03 08:11:19 -05:00
Jack Christensen b97b012d42 Rename SSL to TLS 2013-10-03 08:07:37 -05:00
Jack Christensen 6990f3f30d Use tls.Config for TLS configuration 2013-09-30 09:00:09 -05:00
Derek Parker and Jack Christensen 21c1717d45 Add initial SSL support 2013-09-27 16:10:13 -05:00
Jack Christensen 3365402235 Start sequence at 1 2013-08-09 17:00:05 -05:00
Jack Christensen 97d933f055 Added pgx/migrate 2013-08-09 16:40:04 -05:00
Jack Christensen f079d84728 Added SanitizeSql bool support 2013-08-06 10:20:32 -05:00
Jack Christensen 2699bf6187 Added example url shortener 2013-08-05 13:08:45 -05:00
Jack Christensen 0e30c0ae61 Fix: Prepare statement without result set 2013-08-05 11:30:20 -05:00
Jack Christensen a74871c8ab Add license 2013-07-30 19:05:09 -05:00
Jack Christensen 91e841bddd More readme tweaks and proofreading 2013-07-30 18:06:26 -05:00
Jack Christensen ff9cab7471 Tweak example in readme 2013-07-30 18:00:17 -05:00
Jack Christensen c6bf85bd63 Add more docs and explanation 2013-07-30 17:53:59 -05:00
Jack Christensen 3ca58c01fe Add example for SelectRows 2013-07-30 17:53:40 -05:00
Jack Christensen f277719f10 Remove unused test_setup.sql 2013-07-30 07:30:50 -05:00
Jack Christensen 08020c5b53 Remove experimental 2013-07-30 07:29:28 -05:00
Jack Christensen 6c576bbef6 Don't test cause of death for killed connection
Different platforms have different causes of death
2013-07-27 10:37:09 -05:00
Jack Christensen 2e8ebc0e27 Don't test cause of death for killed connection
Different platforms have different causes of death
2013-07-27 10:33:11 -05:00
Jack Christensen 2f5b2c1afc Add SelectValueTo 2013-07-26 18:08:16 -05:00
Jack Christensen 097c68e73b Check for alive before rx or tx 2013-07-26 18:07:46 -05:00
Jack Christensen c96fa440cc Test getSharedConnection handles dead connections
If a test does something that kills a connection, it previously
would break all subsequent tests that used the shared connection.
It no longer does.
2013-07-26 16:45:27 -05:00
Jack Christensen c36c0875c9 Make message buffer size configurable 2013-07-26 15:10:19 -05:00
Jack Christensen 3873a83a0a Buffer writes to the PostgreSQL socket
Avoid sending a packet for each write
2013-07-26 14:48:41 -05:00
Jack Christensen ad34dc7264 Connections notice when they die and pools drop dead connections 2013-07-26 13:47:06 -05:00
Jack Christensen a81a5f08b8 ConnectionPool now only creates the connections it needs 2013-07-26 07:27:14 -05:00
Jack Christensen 622ff142ca Add error to *ConnectionPool.Acquire return 2013-07-25 07:52:05 -05:00
Jack Christensen 209a9dfaf5 Factor out *ConnectionPool createConnection 2013-07-25 07:36:58 -05:00
Jack Christensen 7450854d50 Add benchmark of ConnectionPool Acquire/Release 2013-07-25 07:34:38 -05:00