Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: wg/epgsql
base: master
...
head fork: mabrek/epgsql
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Jun 13, 2011
@mabrek mabrek follow upstream public_key api changes ae91717
@mabrek mabrek handle pg 9.0 version reply for connect_with_invalid_user 1aaf455
Commits on Aug 28, 2011
@mabrek mabrek decoder skeleton 1f6b286
Commits on Sep 04, 2011
@mabrek mabrek Merge remote-tracking branch 'github.wg/master' into async c592716
@mabrek mabrek pgsql_decoder -> pgsql_wire 4fd442f
@mabrek mabrek no need to trap exits 631cc68
@mabrek mabrek extract common macros f785ef7
@mabrek mabrek forgotten int64 6e4261f
@mabrek mabrek move encoding from pgsql_sock:send to pgsql_wire 47a7c93
@mabrek mabrek cancel inside pgsql_sock b0d119b
@mabrek mabrek remove state machine reference 3d4ad3f
@mabrek mabrek use pgsql_wire to encode messages 835fd65
@mabrek mabrek recursive message decoding 5f6a73b
@mabrek mabrek todo 5bb1f68
@mabrek mabrek handle too short messages 8e78752
@mabrek mabrek decode incoming messages f39e396
@mabrek mabrek message handling -> on_message, decoding -> pgsql_wire 8d71460
@mabrek mabrek decode strings with binary:split 7d7169b
Commits on Sep 11, 2011
@mabrek mabrek todo 7f0291b
@mabrek mabrek int32 startup message ead5c08
@mabrek mabrek use timeout, authenticate in init/1 6500257
@mabrek mabrek decode single message 2ac7bc9
@mabrek mabrek cosmetics 7b9d333
@mabrek mabrek stateless decoder 4be9b0a
@mabrek mabrek use stateless decoder cc7e922
@mabrek mabrek auth todo fc53e7c
@mabrek mabrek stateless encoder 5aa477d
@mabrek mabrek handle_messages -> on_tail ac83ff3
@mabrek mabrek syntax a9e63d1
@mabrek mabrek active auth e8aece9
@mabrek mabrek put callback in state 155a572
Commits on Sep 18, 2011
@mabrek mabrek compilation errors afc741e
@mabrek mabrek delay connection from init, start_ssl as single function d60e7fc
@mabrek mabrek cosmetics 13e2b93
@mabrek mabrek match socket on receive, useless function f6b26af
@mabrek mabrek #state.tail -> data, on_timeout handler 25359e3
@mabrek mabrek on_message return type ce616b0
@mabrek mabrek typo db286fa
@mabrek mabrek swap send/2,3, on_data/1 params, handle auth replies 8bdd583
@mabrek mabrek on_data -> loop, follow gen_server handle_info format 65bf0e2
@mabrek mabrek merge on_message, on_timeout into handler 14b3f9e
@mabrek mabrek follow state field rename 371e2cc
@mabrek mabrek call to connect 8b51dd0
Commits on Sep 24, 2011
@mabrek mabrek handler fun as atom in state c84f673
@mabrek mabrek save async backend messages handler pid edd1c1f
@mabrek mabrek reply to call owner 0be28cc
@mabrek mabrek handle_call from format 1f95de9
@mabrek mabrek switch state handler c4642f2
@mabrek mabrek send error response d902396
@mabrek mabrek decode error 06f9c45
@mabrek mabrek cosmetics d8ec602
@mabrek mabrek todo 7ec63c5
@mabrek mabrek initializing state 68ac43e
@mabrek mabrek fallback to generic message handler in auth state 22cb660
@mabrek mabrek save ParameterStatus a03332e
@mabrek mabrek preserve auth/initializing timeout e2216a2
@mabrek mabrek handle asynchronous backend messages 5d158d0
@mabrek mabrek todo a2c9529
@mabrek mabrek gen_reply to reply gen_server calls a885896
@mabrek mabrek comment out dialyzer beeedcc
@mabrek mabrek connect through pgsql_sock bae8c8f
@mabrek mabrek state handler format c6ce261
@mabrek mabrek export encode/1 a0bcc65
Commits on Sep 25, 2011
@mabrek mabrek empty initial data 2b40c21
@mabrek mabrek export state callbacks 3656d7e
@mabrek mabrek don't trim empty strings 9e94821
@mabrek mabrek initial parameters edce3fa
@mabrek mabrek close 0505a27
@mabrek mabrek default timeout 2ee78ff
@mabrek mabrek stop with reply is normal a73bfb1
@mabrek mabrek unimplemented api 7e55d6d
@mabrek mabrek typo dd94e4e
@mabrek mabrek encode_types + others from pgsql_connection d08f5ca
@mabrek mabrek reply without popping from queue f8aa686
@mabrek mabrek incomplete parse b1c9eaa
Commits on Oct 09, 2011
@mabrek mabrek cast instead call, no timeout in state 5f2e9f9
@mabrek mabrek handle_cast with From, Ref, implement get_parameter 55f94eb
Commits on Oct 16, 2011
@mabrek mabrek reduce parameter count in API, save whole request in queue, todo dbb06f6
@mabrek mabrek queue format 7ec27b9
@mabrek mabrek warnings 73aba3f
@mabrek mabrek receive results of connect f0c5185
@mabrek mabrek receive results by ref, separate receive_describe 747d0cc
@mabrek mabrek todo a6af60c
@mabrek mabrek handle parse/describe replies d6896d5
@mabrek mabrek decode_string/1 return type f57c5f4
@mabrek mabrek parse result type 99530bc
Commits on Oct 18, 2011
@mabrek mabrek handle equery cast f556082
@mabrek mabrek equery responses 9c1c863
@mabrek mabrek cosmetics 887b89f
@mabrek mabrek todo 1ffa4b7
Commits on Oct 20, 2011
@mabrek mabrek incomplete squery 1b3ec7e
Commits on Oct 21, 2011
@mabrek mabrek don't stop on error in case of squery, equery 76e92c5
Commits on Oct 23, 2011
@mabrek mabrek workaround for missing columns in equery result e4188e5
@mabrek mabrek cosmetics 8b9607a
@mabrek mabrek no timeout here 3c75284
@mabrek mabrek handle_cast for bind, execute, describe, close, sync; pgsql:receive_atom 2872a91
@mabrek mabrek sync after parse error ee1c9cd
@mabrek mabrek typo e66cd37
@mabrek mabrek pgsql:close implementation 8e8f72a
@mabrek mabrek handle bind, execute replies f8584d7
@mabrek mabrek CommandComplete finishes execution dbbb91a
@mabrek mabrek sync on error in pgsql:parse 0841f51
@mabrek mabrek sync on bind error b5651bf
@mabrek mabrek receive_describe return format 01b32fa
@mabrek mabrek sync_required 43baf66
@mabrek mabrek finish describe 85b5668
@mabrek mabrek sync on describe error 7e7c258
@mabrek mabrek handle PortalSuspended d764524
@mabrek mabrek todo 5ae2539
@mabrek mabrek set binary column format only for parse/describe 0e182fc
Commits on Oct 24, 2011
@mabrek mabrek replace pgsql_connection by pgsql_sock 9377ae6
Commits on Oct 25, 2011
@mabrek mabrek no timeout here 9d4f7ac
@mabrek mabrek split describe statement/portal, accumulate query results in driver s…
…tate instead of client (incomplete)
0d1f02a
Commits on Oct 27, 2011
@mabrek mabrek accumulate results inside pgsql_sock 25f8e53
Commits on Oct 28, 2011
@mabrek mabrek todo, cosmetics af4d713
@mabrek mabrek receive single result afd7110
@mabrek mabrek save transaction status (unused now) ce1951b
@mabrek mabrek empty query result type 0172407
@mabrek mabrek typo 62eb013
@mabrek mabrek empty columns list instead of undefined 44b70a8
Commits on Oct 29, 2011
@mabrek mabrek clean previous columns, rows on CommandComplete 58b24a4
@mabrek mabrek add_result extracted 73b02f2
@mabrek mabrek workaround for empty #state.columns on equery completion 95f8dc6
@mabrek mabrek remove workaround, extract get_columns a642ea0
@mabrek mabrek single atom requests 2b5c50d
@mabrek mabrek execute result has no columns in it 623eb2d
@mabrek mabrek query result formats 35945ba
@mabrek mabrek complete atom 71f7575
@mabrek mabrek execute result without rows ae020d4
Commits on Nov 01, 2011
@mabrek mabrek enable dialyzer 0cef4cf
@mabrek mabrek copyright notices e446252
@mabrek mabrek cleanup, cosmetics c494681
@mabrek mabrek flush queue on stop 390ce0f
@mabrek mabrek export receive_result, sync_on_error 68105ed
@mabrek mabrek docs ca6faf9
@mabrek mabrek reply with 'closed' on stop d8aa6af
@mabrek mabrek typo 6f9d545
Commits on Nov 13, 2011
@mabrek mabrek todo 7e68cd7
@mabrek mabrek store types instead of statement in State, extract make_statement 3c4dd5f
@mabrek mabrek reply -> finish, add_row, notify c449cd4
@mabrek mabrek typo 9bc8028
@mabrek mabrek split entry points for requests 1f47a87
@mabrek mabrek typo 7e47b86
Commits on Nov 14, 2011
@mabrek mabrek extract cast api to apgsql, use gen_server:call in pgsql 974a6a2
@mabrek mabrek gen_server:reply to calls 55f89c8
@mabrek mabrek typo 832d813
@mabrek mabrek return error after sync cc4e7aa
@mabrek mabrek describe portal/statement 81790fe
Commits on Nov 17, 2011
@mabrek mabrek handle incremental requests ffeabef
Commits on Nov 19, 2011
@mabrek mabrek typo 71d570d
@mabrek mabrek prepation for parameterised tests 752b0f3
@mabrek mabrek switch to Module parameterised tests 3d062e5
@mabrek mabrek test names 1ec0a1b
Commits on Nov 20, 2011
@mabrek mabrek send 'cast' or 'incremental' inside request 91a0cd2
@mabrek mabrek self() in reply messages 13f5e2f
@mabrek mabrek incremental api module 808c64b
@mabrek mabrek test different API's through emulation layer f8e6651
@mabrek mabrek allow test to run several times 785daea
@mabrek mabrek no results in case of incremental finish 89b6e12
Commits on Nov 22, 2011
@mabrek mabrek add columns to equery notices b39a436
@mabrek mabrek sync reply is 'ok' 9db01c7
Commits on Nov 26, 2011
@mabrek mabrek encode timestamps in erlang:now() format acc0171
@mabrek mabrek failing test 79d33a2
Commits on Nov 27, 2011
@mabrek mabrek use universal time, still fails 2f55b00
Commits on Dec 25, 2011
@mabrek mabrek replace incorrectly calculated postgres_epoch_usecs c6f0e47
@mabrek mabrek compare datetime to now() with microsecond precision d7b432f
Commits on Dec 26, 2011
@mabrek mabrek test now() format with timestamptz 8c75cd8
@mabrek mabrek support binding timestamps in now() format for floating point timestamps ede5e29
Commits on Dec 29, 2011
@mabrek mabrek document changes 39b087b
Commits on Jan 17, 2012
@mabrek mabrek Merge branch 'bind-timestamp-now' into async-integration 9a7df2b
Commits on Feb 08, 2012
@mabrek mabrek avoid selective receive in gen_tcp:send 49d8555
Commits on Feb 09, 2012
@mabrek mabrek execute_batch command implementation c03eb14
Commits on Feb 11, 2012
@mabrek mabrek erlang:port_command/2 can't return false 26c9817
@mabrek mabrek Merge branch 'async-integration' into execute-batch 58381ef
@mabrek mabrek execute_batch: send Sync after series of Bind,Execute 5142cd7
@mabrek mabrek fetch all rows, don't want to deal with PortalSuspended inside batch 1b35539
@mabrek mabrek no PortalName inside batch d572bc9
Commits on Feb 12, 2012
@mabrek mabrek cosmetics (remove empty list) 93df7ea
@mabrek mabrek execute_batch api 5b58d0d
@mabrek mabrek execute_batch api emulation for tests d1a08fe
@mabrek mabrek execute_batch simple test 75480a6
@mabrek mabrek incomplete execute_batch results handling c177d18
@mabrek mabrek get columns from state 42f0813
@mabrek mabrek useless function d8130e3
@mabrek mabrek batch result format emulation for incremental messages 0c14974
Commits on Feb 14, 2012
@mabrek mabrek almost same api set for all interface modules 2d17a07
Commits on Feb 15, 2012
@mabrek mabrek Merge remote-tracking branch 'github.wg/master' into async-integration 8902b48
@mabrek mabrek document changes 80243ff
Commits on Feb 16, 2012
@mabrek mabrek async connection documented f3cfc89
Commits on Feb 19, 2012
@mabrek mabrek apgsql:squery, ipgsql:squery documentation 35963ce
Commits on Feb 21, 2012
@mabrek mabrek equery, parse, bind documentation 132a80a
Commits on Feb 22, 2012
@mabrek mabrek execute, execute_batch description 4740242
Commits on Feb 23, 2012
@mabrek mabrek motivation + spellchecking 8f47063
@mabrek mabrek TODO fe9d30b
@mabrek mabrek cosmetics cca5be9
Commits on Feb 29, 2012
@mabrek mabrek grammar in readme e90b24e
Commits on Mar 28, 2012
@abs abs Fix sed call. fb967b9
Commits on Apr 24, 2012
@mabrek mabrek Merge upstream 'wg/master' 8cebeb9
@mabrek mabrek Merge remote-tracking branch 'github.abs/master' into async-integration f78da46
Commits on Jun 13, 2012
@mabrek mabrek Merge branch 'async-integration' into async 7c85896
Commits on Jun 19, 2012
@mabrek mabrek allow concurrent pgsql:equery on same connection dabf972
Commits on Jun 20, 2012
@benbro benbro Added support for datearray, timearray, timetzarray, timestamparray, …
…timestamptzarray and intervalarray.
6645611
Commits on Nov 19, 2012
@mabrek mabrek Merge remote-tracking branch 'github.benbro/master' into async-integr…
…ation
f9e3e52
Commits on Mar 04, 2013
@mabrek mabrek batch with error in the middle test 58de903
@mabrek mabrek handle an error in the middle of execute_batch a8ae354
@mabrek mabrek todo 3d08031
Commits on Mar 05, 2013
@mabrek mabrek don't unwrap single element list for execute_batch 9d57001
Commits on Mar 07, 2013
@mabrek mabrek Merge branch 'batch-error' into async-integration 7b6c71e