Branch: Tag:

2018-06-05

2018-06-05 14:21:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: reset_dbsession() drains the pending error messages as well.

2018-06-05 14:14:07 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: reset_dbsession() drains the pending error messages as well.

2018-06-02

2018-06-02 11:17:34 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release lock on collision with another thread on the same portal.

2018-06-02 11:10:37 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release lock on collision with another thread on the same portal.

2018-05-30

2018-05-30 00:47:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify code; clear stmtifkey always.

2018-05-30 00:46:58 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify code; clear stmtifkey always.

2018-05-26

2018-05-26 13:51:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve _sprintf() formatting.

2018-05-26 13:42:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve _sprintf() formatting.

2018-05-26 09:32:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay started() lock release to prevent early unlock by sendcmd().

2018-05-26 09:30:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay started() lock release to prevent early unlock by sendcmd().

2018-05-24

2018-05-24 16:50:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make replenishrows() wait until the query has properly started.

2018-05-24 16:49:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make replenishrows() wait until the query has properly started.

2018-05-23

2018-05-23 09:43:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix regression error in adaptive buffer refill.

sizeof(Thread.Queue()) is not equal to Thread.Queue()->size().
Fixes the calculation for adaptive buffer refills.
Without this fix, it *will* result in hung queries, but only
if the number of rows returned exceeds 1024.

2018-05-23 09:38:40 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix regression error in adaptive buffer refill.

sizeof(Thread.Queue()) is not equal to Thread.Queue()->size().
Fixes the calculation for adaptive buffer refills.
Without this fix, it *will* result in hung queries, but only
if the number of rows returned exceeds 1024.

2018-05-23 09:13:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Missing declaration in debugging mode.

2018-05-23 09:12:36 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Missing declaration in debugging mode.

2018-05-22

2018-05-22 13:35:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix unitialised mode regression from last commit.

2018-05-22 13:33:09 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix unitialised mode regression from last commit.

2018-05-22 12:05:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disentangle concurrent stash flushes explicitly.

- Solves the last remaining one-deadlock-per-month problem.
- Speeds up the critical path with regard to stash-flushing.

2018-05-22 12:03:34 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disentangle concurrent stash flushes explicitly.

- Solves the last remaining one-deadlock-per-month problem.
- Speeds up the critical path with regard to stash-flushing.

2018-05-21

2018-05-21 01:10:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Extra diagnostics and release all locks upon async query termination.

2018-05-21 01:05:47 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Extra diagnostics and release all locks upon async query termination.

2018-05-18

2018-05-18 09:32:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add optional communicationslog per filedescriptor for debugging.

2018-05-18 09:27:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add optional communicationslog per filedescriptor for debugging.

2018-05-17

2018-05-17 15:49:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid lock recursion and a deadlock.

2018-05-17 15:49:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard against async destructs.

2018-05-17 14:09:45 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard against async destructs.

2018-05-17 13:44:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid lock recursion and a deadlock.

2018-05-17 07:48:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Accomodate for sscanf() using range_error(0).

2018-05-17 07:47:40 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Accomodate for sscanf() using range_error(0).

2018-05-17 07:27:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Return data even after the local backend has died.

2018-05-17 07:25:55 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Return data even after the local backend has died.

2018-05-11

2018-05-11 15:29:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate rare deadlock on heavy interleaved queries tuned.

2018-05-11 15:17:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate rare deadlock on heavy interleaved queries tuned.

2018-05-07

2018-05-07 21:13:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate rare deadlock on heavy interleaved queries.

2018-05-07 21:07:21 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate rare deadlock on heavy interleaved queries.

2018-05-07 10:15:35 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: 8.1-ism corrected.

2018-05-07 09:23:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for empty start conditions.

2018-05-07 09:22:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for empty start conditions.

2018-05-07 08:52:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drain portal queue deterministically.

2018-05-07 08:51:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: affected_rows() now preserves as of yet unfetched rows.

2018-05-07 08:46:46 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Stall fetching rows if they are not being consumed yet.

2018-05-07 08:44:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drain portal queue deterministically.

2018-05-07 08:44:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: affected_rows() now preserves as of yet unfetched rows.

2018-05-07 08:44:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Stall fetching rows if they are not being consumed yet.

2018-05-01

2018-05-01 09:01:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make affected_rows() and status_command_complete() wait for a meaningful result.

2018-05-01 08:55:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make affected_rows() and status_command_complete() wait for a meaningful result.

2018-05-01 01:00:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drain portal queue to completion.

2018-05-01 00:59:35 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drain portal queue to completion.

2018-05-01 00:11:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Report correct affected_rows() for INSERTs.

2018-05-01 00:09:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Report correct affected_rows() for INSERTs.

2018-03-10

2018-03-10 09:01:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix infinite loop in optimisation of native NUMERIC types.

2018-03-10 09:00:16 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix infinite loop in optimisation of native NUMERIC types.

2018-02-15

2018-02-15 15:54:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e' into patches/pike63

* commit '75c9d1806f1a69ca21c27a2c2fe1b4a6ea38e77e': (19587 commits)
...

2018-02-06

2018-02-06 11:35:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Wireformat NUMERIC type fixes and finetuning.

2018-02-06 11:34:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Wireformat NUMERIC type fixes and finetuning.

2018-02-06 11:03:34 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support binary transport of the NUMERIC type.

2018-02-06 10:59:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support binary transport of the NUMERIC type.

2018-02-03

2018-02-03 09:48:55 by Peter Bortas <bortas@gmail.com>

Merge branch '8.1' into peter/travis

2018-02-01

2018-02-01 18:08:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Float decimal precision minima from IEE-754 spec.

2018-02-01 18:06:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Float decimal precision minima from IEE-754 spec.

2018-02-01 17:55:27 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reduce float decimal precision to the real minimum.

2018-02-01 17:54:47 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reduce float decimal precision to the real minimum.

2018-02-01 13:55:20 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make sure natural float numbers have no .0 attached.

2018-02-01 13:54:48 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make sure natural float numbers have no .0 attached.

2018-01-31

2018-01-31 12:06:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make sure all database errors end up as exceptions.

2018-01-31 12:05:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make sure all database errors end up as exceptions.

2018-01-29

2018-01-29 11:37:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Readding primitive auto-reconnect logic.

2018-01-29 11:36:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Readding primitive auto-reconnect logic.

2018-01-20

2018-01-20 12:52:48 by Stephen R. van den Berg <srb@cuci.nl>

Whitespace and doc fixes.

2018-01-20 12:46:32 by Stephen R. van den Berg <srb@cuci.nl>

Whitespace and doc fixes.

2018-01-05

2018-01-05 14:51:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Swallow multiple EOF marks in final data rows in fetch_row_array().

Depending on timing when the query finishes, there can be
multiple internal EOF rows.

2018-01-05 14:51:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Swallow multiple EOF marks in final data rows in fetch_row_array().

Depending on timing when the query finishes, there can be
multiple internal EOF rows.

2017-12-31

2017-12-31 23:19:10 by Peter Bortas <bortas@gmail.com>

Merge remote-tracking branch 'origin/8.1' into peter/travis

2017-12-28

2017-12-28 01:14:21 by Stephen R. van den Berg <srb@cuci.nl>

Val.Range: Salvage SQL syntax for use in SQL subsystems.

2017-12-22

2017-12-22 10:15:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Track move of types from __builtin to Val.

2017-12-21

2017-12-21 15:10:23 by Martin Nilsson <nilsson@fastmail.com>

Moved out time-code from __builtin to Val. Reduces start overhead and prevents clobber of System.Time.

2017-12-13

2017-12-13 12:40:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Need to read signed integers to get correct offsets.

2017-12-13 12:40:32 by Stephen R. van den Berg <srb@cuci.nl>

Timestamp/Date: Store internal types relative to epoch instead of 2000.

2017-12-11

2017-12-11 22:47:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Minor optimisations.

2017-12-11 22:47:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support binary transfer IEEE float formats.

2017-12-11 22:09:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support binary transfer IEEE float formats.

2017-12-11 21:04:07 by Stephen R. van den Berg <srb@cuci.nl>

Range: Reuse Math.inf etc; Use NetUtils.

2017-12-11 13:43:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tie the datatypes to __builtin.* to avoid surprises.

2017-12-11 11:42:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make use of the new Date/Time/Inet/Range datatypes to support them in binary transfer.

2017-12-11 09:23:45 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Minor optimisations.

2017-12-07

2017-12-07 17:51:54 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Timestamp: Add operators to the SQL types, change encoding for Inet.

2017-12-07 01:24:12 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make use of native Inet data type.

2017-12-06

2017-12-06 22:20:55 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Remove unused local function.

2017-12-06 21:11:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support native typed values for Date, Time, TimeTZ, Timestamp, TimestampTZ and Interval.

2017-12-02

2017-12-02 00:28:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Migrate user callbacks to the DefaultBackend as soon as it has started.

2017-12-02 00:26:39 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Migrate user callbacks to the DefaultBackend as soon as it has started.

2017-11-30

2017-11-30 12:09:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash.SCRAM: Moved class.

Move Crypto.SCRAM to __builtin.Nettle.Hash()->SCRAM analogous to
other similar APIs.

Crypto.SCRAM(Crypto.SHA256) is now Crypto.SHA256.SCRAM().

Also updates the testsuite and Sql.pgsql_util accordingly.

2017-11-30 11:52:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Hash.SCRAM: Moved class.

Move Crypto.SCRAM to __builtin.Nettle.Hash()->SCRAM analogous to
other similar APIs.

Crypto.SCRAM(Crypto.SHA256) is now Crypto.SHA256.SCRAM().

Also updates the testsuite and Sql.pgsql_util accordingly.

2017-11-30 00:48:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Prohibit running queries in the local_backend again.

2017-11-30 00:44:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Prohibit running queries in the local_backend again.

2017-11-28

2017-11-28 12:44:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rely on block boundaries to release locks.

2017-11-28 12:39:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rely on block boundaries to release locks.

2017-11-24

2017-11-24 17:43:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Missing variable index because we do not inherit.

2017-11-22

2017-11-22 21:35:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Missing variable.

2017-11-22 21:34:45 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Missing variable.

2017-11-22 16:46:40 by Stephen R. van den Berg <srb@cuci.nl>

Sql.sql_result: index variable (un)used consistently in prototype.

2017-11-22 16:44:36 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Result: index variable (un)used consistently in prototype.

2017-11-22 14:55:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix fetch_row_array().

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Add a Concurrent.Promise interface to Sql.Connection.

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: Added missing methods (amongst others: asynchronous callbacks).

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix fetch_row_array().

2017-11-22 08:00:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not throw errors inside the callback-backend, they get lost.

2017-11-22 07:59:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not throw errors inside the callback-backend, they get lost.

2017-11-21

2017-11-21 10:00:51 by Stephen R. van den Berg <srb@cuci.nl>

Paint over some PikeParser bugs during make doc.

2017-11-21 09:57:29 by Stephen R. van den Berg <srb@cuci.nl>

Paint over some PikeParser bugs during make doc.

2017-11-21 09:05:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add diagnostics.

2017-11-21 09:00:58 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add diagnostics.

2017-11-21 01:26:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Create proxy object to avoid circular references.

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

Crypto.SCRAM: New module.

2017-11-21 01:26:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify and bolster the code by using Thread.ResourceCount.

2017-11-21 01:25:39 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make SSL fix 8.0 compatible.

2017-11-21 01:14:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Remove leftover diagnostics.

2017-11-21 01:01:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix SSL method in combination with Stdio.Buffer.

2017-11-21 00:57:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate connectfail() backreferences.

2017-11-21 00:46:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update documentation.

2017-11-20

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix SSL method in combination with Stdio.Buffer.

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Create proxy object to avoid circular references.

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate connectfail() backreferences.

2017-11-16

2017-11-16 00:41:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update docs.

2017-11-16 00:38:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Update docs.

2017-11-15

2017-11-15 15:53:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rip out fundamentally flawed reconnect logic, make failures consistent.

2017-11-15 15:50:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors in destructed objects(2).

2017-11-15 14:58:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rip out fundamentally flawed reconnect logic, make failures consistent.

2017-11-12

2017-11-12 22:06:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Use Crypto.SCRAM.

2017-11-11

2017-11-11 16:03:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make salted-password-cache threadsafe.

2017-11-11 16:02:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make salted-password-cache threadsafe.

2017-11-11 15:26:36 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Postgresql 10 scram-SHA256 authentication support.

2017-11-11 15:20:39 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Postgresql 10 scram-SHA256 authentication support.

2017-11-10

2017-11-10 00:28:26 by Stephen R. van den Berg <srb@cuci.nl>

Revert "pgsql: Signal EOF first, to avoid deadlock on object destruction."

This reverts commit f342376c815d0f060e69fb3aba761e817c9583a1.

The race has instead been fixed correctly by:
pgsql: Cater for race during asynchronous destruction of bufcon.

2017-11-10 00:27:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify and bolster the code by using Thread.ResourceCount.

2017-11-10 00:27:26 by Stephen R. van den Berg <srb@cuci.nl>

Revert "pgsql: Signal EOF first, to avoid deadlock on object destruction."

This reverts commit f342376c815d0f060e69fb3aba761e817c9583a1.

The race has instead been fixed correctly by:
pgsql: Cater for race during asynchronous destruction of bufcon.

2017-11-09

2017-11-09 11:21:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for race during asynchronous destruction of bufcon.

2017-11-09 11:15:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for race during asynchronous destruction of bufcon.

2017-11-09 02:47:12 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Signal EOF first, to avoid deadlock on object destruction.

2017-11-09 02:33:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Signal EOF first, to avoid deadlock on object destruction.

2017-11-09 02:30:23 by Stephen R. van den Berg <srb@cuci.nl>

Change destroy() to _destruct().

2017-11-05

2017-11-05 15:53:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/rename_lfun_destroy' into 8.1

* grubba/rename_lfun_destroy:
Modules: Fixed logts of warnings.
Testsuite: Updated for LFUN::_destruct().
Compiler: Don't complain about LFUN::destroy() in compat mode.
Fix multiple warnings.
Runtime: LFUN::destroy() has been renamed to _destruct().
Compiler: Rename LFUN::destroy() to LFUN::_destruct().

2017-11-05 15:49:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Modules: Fixed logts of warnings.

More fall out from the LFUN::destroy ==> LFUN::_destruct rename.

2017-11-01

2017-11-01 13:53:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress 'File not open' output on stderr for query_fd().

2017-10-30

2017-10-30 23:05:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress 'File not open' output on stderr for query_fd().

2017-07-28

2017-07-28 13:46:09 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Document implementation decision.

2017-07-28 13:45:20 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Document implementation decision.

2017-07-10

2017-07-10 11:59:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support multiset binary literals and avoid copying Stdio.Buffer() bindings.

2017-07-10 11:57:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support multiset binary literals and avoid copying Stdio.Buffer() bindings.

2017-07-08

2017-07-08 19:43:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Recognise all generic BEGIN/START commands.

2017-07-08 14:17:07 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Recognise all generic BEGIN/START commands.

2017-07-03

2017-07-03 22:40:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support spurious syncs in a stashed queue.

2017-07-03 22:38:34 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support spurious syncs in a stashed queue.

2017-07-02

2017-07-02 00:07:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Stashflushmode is now managed consistently.

2017-07-02 00:07:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Omit qportals on CancelRequest connections, eliminates interference.

2017-07-02 00:07:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging log.

2017-07-02 00:07:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors if the server gets lost.

2017-07-02 00:01:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Stashflushmode is now managed consistently.

2017-07-02 00:01:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors if the server gets lost.

2017-07-02 00:01:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging log.

2017-07-02 00:01:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Omit qportals on CancelRequest connections, eliminates interference.

2017-06-28

2017-06-28 07:10:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Accellerate BEGIN/COMMIT statements: forgot 3rd parameter to enable it.

2017-06-28 07:09:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Accellerate BEGIN/COMMIT statements: forgot 3rd parameter to enable it.

2017-06-27

2017-06-27 10:31:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disentangle portal-sync race for concurrent db-errors.

2017-06-27 10:31:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Trim in-flight portal stack aware of transactions in progress.

2017-06-27 10:31:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for an unopened portal in case of a parsing error.

2017-06-27 10:30:15 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for an unopened portal in case of a parsing error.

2017-06-27 10:30:15 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Trim in-flight portal stack aware of transactions in progress.

2017-06-27 10:30:15 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disentangle portal-sync race for concurrent db-errors.

2017-06-18

2017-06-18 18:07:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Break up query to allow more parallelism.

2017-06-18 18:07:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move sync point before parsing, to avoid race.

2017-06-18 18:07:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Break up query to allow more parallelism.

2017-06-18 18:07:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move sync point before parsing, to avoid race.

2017-06-03

2017-06-03 11:01:07 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add instrumentation to aid in diagnosing raceconditions.

2017-06-03 11:01:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Increase parallelism, inhibits rare deadlocks.

2017-06-03 11:01:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make _sync wait for executions instead of just parsing.

2017-06-03 10:46:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Increase parallelism, inhibits rare deadlocks.

2017-06-03 10:46:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make _sync wait for executions instead of just parsing.

2017-06-03 10:46:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add instrumentation to aid in diagnosing raceconditions.

2017-03-15

2017-03-15 15:46:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.pgsql: Update to new Sql API.

Inherit __builtin.Sql.Connection and __builtin.Sql.Result as appropriate.

2016-12-06

2016-12-06 13:28:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reconnect logic was broken, works reliably now.

2016-12-06 13:26:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reconnect logic was broken, works reliably now.

2016-11-09

2016-11-09 14:51:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Small cosmetic change.

2016-11-05

2016-11-05 17:11:40 by Martin Nilsson <nilsson@fastmail.com>

Dynamic dot warning fixes.

2016-10-15

2016-10-15 14:54:15 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard against asynchronous destructs.

2016-10-15 14:53:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard against asynchronous destructs.

2016-10-15 09:47:27 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop callbacks for real, code got lost between commit juggling.

2016-10-15 09:47:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop callbacks for real, code got lost between commit juggling.

2016-10-15 09:35:12 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for callbacks waiting for mutex while being destructed.

2016-10-15 09:34:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cater for callbacks waiting for mutex while being destructed.

2016-10-15 00:36:58 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate hanging selects.

2016-10-15 00:36:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop callbacks on destruct of conxion, force short close.

2016-10-15 00:35:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate hanging selects.

2016-10-15 00:32:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop callbacks on destruct of conxion, force short close.

2016-10-13

2016-10-13 14:28:36 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix portal-race for multiple queries in flight on a single descriptor.

2016-10-13 14:28:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix portal-race for multiple queries in flight on a single descriptor.

2016-10-13 09:52:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop termination lock even on exceptions.

Prevent cancelquery() from starting the statemachine.
This was responsible for the majority of the exceptions.

2016-10-13 09:51:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop termination lock even on exceptions.

Prevent cancelquery() from starting the statemachine.
This was responsible for the majority of the exceptions.

2016-10-12

2016-10-12 09:35:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard local backend against exceptions.

When pgsql objects where destructed forcibly, the
pgsql-local backend sometimes died due to attempted
accesses in destructed objects.

2016-10-12 09:34:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard local backend against exceptions.

When pgsql objects where destructed forcibly, the
pgsql-local backend sometimes died due to attempted
accesses in destructed objects.

2016-04-01

2016-04-01 01:29:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Ensure queries have been fully started before closing the fd.

2016-04-01 01:29:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Ensure queries have been fully started before closing the fd.

2016-02-27

2016-02-27 23:31:16 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move real close into the destructor.

Also destruct the conxion object directly, to make sure that the
filedescriptors actually get closed.

2016-02-27 23:30:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move real close into the destructor.

Also destruct the conxion object directly, to make sure that the
filedescriptors actually get closed.

2016-02-27 02:55:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Sharpen and weed termination mutexes.

2016-02-27 02:54:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Sharpen and weed termination mutexes.

2016-02-25

2016-02-25 12:12:21 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay close always to avoid thread races in destructed objects.

2016-02-25 12:11:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay close always to avoid thread races in destructed objects.

2016-02-24

2016-02-24 12:46:07 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Sync destruction of objects with natural thread termination.

2016-02-24 12:45:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Sync destruction of objects with natural thread termination.

2016-02-17

2016-02-17 18:57:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Expedite filedescriptor close when leaving scope.

2016-02-17 18:57:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Protect against execution in destructed objects.

2016-02-17 18:57:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve error messages.

2016-02-17 18:57:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Terminate threads when connections are idle.

2016-02-17 18:55:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Expedite filedescriptor close when leaving scope.

2016-02-17 18:55:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Protect against execution in destructed objects.

2016-02-17 18:55:12 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve error messages.

2016-02-17 18:55:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Terminate threads when connections are idle.

2015-12-23

2015-12-23 16:22:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tear down result objects if the connection breaks.

2015-12-23 16:20:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tear down result objects if the connection breaks.

2015-12-21

2015-12-21 15:42:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Clear all callbacks on destruct.

2015-12-21 15:42:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Clear all callbacks on destruct.

2015-12-20

2015-12-20 14:16:18 by Martin Nilsson <nilsson@fastmail.com>

Removed _sprintf parameters where they are not used.

2015-12-05

2015-12-05 21:54:27 by Stephen R. van den Berg <srb@cuci.nl>

strerror() cosmetic fix.

2015-12-05 21:50:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race during failed connects.

2015-12-05 21:47:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Terminate threads when connections are idle.

2015-12-05 21:46:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race during failed connects.

2015-12-05 21:46:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Terminate threads when connections are idle.

2015-09-06

2015-09-06 19:43:42 by Martin Nilsson <nilsson@fastmail.com>

Cosmetic update of strerror use.

2015-01-05

2015-01-05 13:26:38 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop unnamedstatementkey even if destroyed randomly.

2015-01-05 13:26:20 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop unnamedstatementkey even if destroyed randomly.

2014-12-11

2014-12-11 10:23:48 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Explicitly dislodge read mutex upon fd close.

2014-12-11 10:16:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Explicitly dislodge read mutex upon fd close.

2014-12-02

2014-12-02 18:24:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Use close callback to reliably react to remote closes.

2014-12-02 18:24:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Use close callback to reliably react to remote closes.

2014-12-01

2014-12-01 16:06:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtraces in debugging mode.

2014-12-01 16:02:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtraces in debugging mode.

2014-11-28

2014-11-28 02:34:38 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Timeout queries only when needed.

2014-11-28 02:29:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Timeout queries only when needed.

2014-11-26

2014-11-26 12:48:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: FETCH is eligible for parallelisation too.

2014-11-26 12:48:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: FETCH is eligible for parallelisation too.

2014-11-26 12:16:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make better use of the Stdio.Buffer add/add_ints API.

2014-11-26 12:15:10 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make better use of the Stdio.Buffer add/add_ints API.

2014-11-26 11:18:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Case insensitive regexps, but more readable.

2014-11-26 11:17:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Case insensitive regexps, but more readable.

2014-11-26 09:50:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify regexps, add docs.

2014-11-26 09:49:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify regexps, add docs.

2014-11-26 08:45:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make SET synchronous to avoid surprises with subsequent queries.

2014-11-26 08:44:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make SET synchronous to avoid surprises with subsequent queries.

2014-11-25

2014-11-25 12:43:48 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Using howmuch with a sizeof compare of the Buffer does not work.

howmuch is the amount we need extra. It does not relate to the amount
already in the Buffer. To prevent a race/deadlock we need extra
signaling.

2014-11-25 12:41:39 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Using howmuch with a sizeof compare of the Buffer does not work.

howmuch is the amount we need extra. It does not relate to the amount
already in the Buffer. To prevent a race/deadlock we need extra
signaling.

2014-11-25 12:08:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cannot use add_hint() here, the types have already been set in stone.

2014-11-25 12:08:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cannot use add_hint() here, the types have already been set in stone.

2014-11-25 11:05:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Check for the desired buffer size before returning.

2014-11-25 11:04:37 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Check for the desired buffer size before returning.

2014-11-25 10:55:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race during buffer fill/read.

2014-11-25 10:54:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race during buffer fill/read.

2014-11-25 10:39:09 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Preserve type information if PG_DEBUG is defined.

2014-11-25 10:38:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Preserve type information if PG_DEBUG is defined.

2014-11-25 10:04:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slight speedup in column processing.

2014-11-25 09:59:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slight speedup in column processing.

2014-11-24

2014-11-24 12:43:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Docs tuned.

2014-11-24 12:42:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Docs tuned.

2014-11-24 09:56:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: /*semi*/final for efficiency.

2014-11-24 09:55:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: /*semi*/final for efficiency.

2014-11-23

2014-11-23 02:30:07 by Stephen R. van den Berg <srb@cuci.nl>

Workaround c?-> bug.

2014-11-23 02:27:47 by Stephen R. van den Berg <srb@cuci.nl>

Workaround c?-> bug.

2014-11-22

2014-11-22 02:19:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Off-by-one error.

2014-11-22 02:19:12 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Off-by-one error.

2014-11-22 02:10:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rebalance threads, cut away some fat and unnecessary mutexes.

The benchmark performance is now within spitting distance of the
old pgsql driver for the unbatched single queries.
For large batches (>20), the new driver beats everyone pants down.
For single batches (==1), the new driver is about 2% slower than
the old 7.8 version.

2014-11-22 02:09:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rebalance threads, cut away some fat and unnecessary mutexes.

The benchmark performance is now within spitting distance of the
old pgsql driver for the unbatched single queries.
For large batches (>20), the new driver beats everyone pants down.
For single batches (==1), the new driver is about 2% slower than
the old 7.8 version.

2014-11-20

2014-11-20 22:23:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Coalesce packets to reduce overhead.

2014-11-20 22:22:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Coalesce packets to reduce overhead.

2014-11-20 22:22:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Only assign _portalname once, small regressionfix.

2014-11-20 22:20:44 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Only assign _portalname once, small regressionfix.

2014-11-20 01:49:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Pull two Stdio.Buffers apart.

2014-11-20 01:37:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Pull two Stdio.Buffers apart.

2014-11-19

2014-11-19 09:33:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Be less destructive, signal then clear instead.

2014-11-19 09:30:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Be less destructive, signal then clear instead.

2014-11-18

2014-11-18 23:27:26 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move direct multiset to a permanent pmod.

2014-11-18 23:26:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move direct multiset to a permanent pmod.

2014-11-18 23:02:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Recouple mutexes for optimum performance.

2014-11-18 23:01:36 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Recouple mutexes for optimum performance.

2014-11-18 22:35:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Remove cruft and decouple one shortmux.

2014-11-18 22:33:37 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Remove cruft and decouple one shortmux.

2014-11-18 22:10:48 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Merge shortlived mutexes to improve cache-locality.

2014-11-18 22:08:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Merge shortlived mutexes to improve cache-locality.

2014-11-18 21:07:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate parsing race for very fast servers.

2014-11-18 21:07:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging output.

2014-11-18 21:03:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate parsing race for very fast servers.

2014-11-18 20:19:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging output.

2014-11-18 16:59:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Discard data on portals that have already been closed.

2014-11-18 16:58:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Discard data on portals that have already been closed.

2014-11-18 12:18:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Show filedescriptor in %O.

2014-11-18 12:14:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Show filedescriptor in %O.

2014-11-18 12:01:21 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not bother to close unnamed statements.

2014-11-18 12:00:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not bother to close unnamed statements.

2014-11-18 00:26:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move method closer to the data.

2014-11-18 00:23:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Move method closer to the data.

2014-11-17

2014-11-17 22:51:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cleanup & ensure gotdatarowdesc runs at most once per query.

2014-11-17 22:49:46 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cleanup & ensure gotdatarowdesc runs at most once per query.

2014-11-17 15:50:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Destroy condition instead of the mutex for stability.

2014-11-17 15:48:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Destroy condition instead of the mutex for stability.

2014-11-17 15:35:46 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate prepbuffer race (signal before wait and duplicate entries).

2014-11-17 15:33:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate prepbuffer race (signal before wait and duplicate entries).

2014-11-17 11:37:39 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate race while flushing output buffer.

2014-11-17 11:35:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Eliminate race while flushing output buffer.

2014-11-15

2014-11-15 09:01:11 by Stephen R. van den Berg <srb@cuci.nl>

Internal types only: enum -> macros.

2014-11-15 08:58:41 by Stephen R. van den Berg <srb@cuci.nl>

Internal types only: enum -> macros.

2014-11-15 00:59:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Properly terminate the connection if the database does not exist.

2014-11-15 00:58:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Properly terminate the connection if the database does not exist.

2014-11-14

2014-11-14 18:04:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cosmetics.

2014-11-14 17:57:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cosmetics.

2014-11-14 16:45:52 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release all locks early upon error.

2014-11-14 15:23:05 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release all locks early upon error.

2014-11-14 09:39:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Connects failing due to insufficient resources handled more gracefully.

2014-11-14 09:34:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Connects failing due to insufficient resources handled more gracefully.

2014-11-14 01:28:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtrace clarity of PGassist.

2014-11-14 01:24:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve backtrace clarity of PGassist.

2014-11-13

2014-11-13 21:59:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay accepting a commit until all portals have completed.

2014-11-13 21:52:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Delay accepting a commit until all portals have completed.

2014-11-13 14:40:58 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Close race between a parse in progress and a Sync.

2014-11-13 14:40:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging output and release all locks upon error.

2014-11-13 14:39:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve debugging output and release all locks upon error.

2014-11-13 14:39:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Close race between a parse in progress and a Sync.

2014-11-12

2014-11-12 11:10:00 by Stephen R. van den Berg <srb@cuci.nl>

protected -> private where it makes sense.

2014-11-12 11:07:25 by Stephen R. van den Berg <srb@cuci.nl>

protected -> private where it makes sense.

2014-11-10

2014-11-10 22:47:13 by Stephen R. van den Berg <srb@cuci.nl>

Add documentation about the custom backend.

2014-11-10 22:42:45 by Stephen R. van den Berg <srb@cuci.nl>

Add documentation about the custom backend.

2014-11-10 16:09:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reduce the number of dynamically created threads.

This patch pushes most of the dynamically created threads into the
running local_backend. It specifically does not push the gotdatarowdesc
one to avoid deadlocks.

2014-11-10 16:08:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Reduce the number of dynamically created threads.

This patch pushes most of the dynamically created threads into the
running local_backend. It specifically does not push the gotdatarowdesc
one to avoid deadlocks.

2014-11-10 14:53:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Run callbacks in a separate thread to keep session afloat.

2014-11-10 14:52:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Run callbacks in a separate thread to keep session afloat.

2014-11-10 14:27:45 by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

2014-11-10 14:22:03 by Stephen R. van den Berg <srb@cuci.nl>

Doc fixes.

2014-11-10 12:00:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: #require Thread.Thread.

2014-11-10 11:54:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: #require Thread.Thread.

2014-11-10 01:52:29 by Stephen R. van den Berg <srb@cuci.nl>

Stricter types.

2014-11-10 01:51:23 by Stephen R. van den Berg <srb@cuci.nl>

Stricter types.

2014-11-09

2014-11-09 22:10:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support Val.null.

2014-11-09 22:05:09 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support Val.null.

2014-11-09 22:05:08 by Stephen R. van den Berg <srb@cuci.nl>

Sql.pgsql: New and improved full threaded version.

Lower latencies, increased parallelism, theoretical
elimination of all race conditions, simplified code,
uses Stdio.Buffer, no C-helper anymore, less filling.

As a new feature, introduces: send_row(),
fetch_row_array() for increased efficiency,
set_result_callback() and set_result_array_callback()
for event driven database queries.

2014-11-09 22:05:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: finetuning, cleanup, improved error response behaviour.

2014-11-09 22:05:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Further finetuning, fix normal query() race condition, thread safe.

Make the result object threadsafe (e.g. calling fetch_fields() and
fetch_row() simultaneously from multiple threads on the same result
object is supported).

2014-11-09 22:05:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support PostgreSQL 9.4 authentication quirks.

2014-11-09 22:05:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fixed reconnect behaviour, fixed textqueries, eliminated one race.

All issues eliminated. I will run it in production servers as of now.

2014-11-04

2014-11-04 09:55:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fixed reconnect behaviour, fixed textqueries, eliminated one race.

All issues eliminated. I will run it in production servers as of now.

2014-11-03

2014-11-03 02:12:48 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support PostgreSQL 9.4 authentication quirks.

2014-11-02

2014-11-02 22:11:44 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Further finetuning, fix normal query() race condition, thread safe.

Make the result object threadsafe (e.g. calling fetch_fields() and
fetch_row() simultaneously from multiple threads on the same result
object is supported).

2014-10-31

2014-10-31 17:40:49 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: finetuning, cleanup, improved error response behaviour.

2014-10-29

2014-10-29 19:27:10 by Stephen R. van den Berg <srb@cuci.nl>

Sql.pgsql: New and improved full threaded version.

Lower latencies, increased parallelism, theoretical
elimination of all race conditions, simplified code,
uses Stdio.Buffer, no C-helper anymore, less filling.

As a new feature, introduces: send_row(),
fetch_row_array() for increased efficiency,
set_result_callback() and set_result_array_callback()
for event driven database queries.

2014-08-16

2014-08-16 01:25:04 by Martin Nilsson <nilsson@opera.com>

Less crazy coding style.

2014-08-15

2014-08-15 20:21:17 by Martin Nilsson <nilsson@opera.com>

Less zero_type.

2014-06-01

2014-06-01 11:49:27 by Martin Nilsson <nilsson@opera.com>

sslfile -> File and sslport -> port

2014-05-22

2014-05-22 18:40:18 by Martin Nilsson <nilsson@opera.com>

Fixed sslfile create call.

2014-05-17

2014-05-17 11:43:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.sslfile: Changed client/server selection API.

Client and server operation is now selected by calling either
connect() (client-side) or accept() (server-side) after creating
the SSL.sslfile object.

Blocking handshaking mode is selected by calling set_blocking()
before either of the above.

2014-05-15

2014-05-15 20:20:05 by Martin Nilsson <nilsson@opera.com>

Renamed SSL.context to SSL.Context.

2014-03-01

2014-03-01 06:27:19 by Martin Nilsson <nilsson@opera.com>

Don't use the DEBUG symbol in pike modules.

2012-10-06

2012-10-06 11:38:03 by Marcus Comstedt <marcus@mc.pp.se>

Merge branch '7.9' into gobject-introspection

2012-06-15

2012-06-15 09:54:06 by Arne Goedeke <el@laramies.com>

Merge remote branch 'origin/7.9' into rblock_alloc

Conflicts:
src/post_modules/CritBit/floattree.cmod
src/post_modules/CritBit/inttree.cmod
src/post_modules/CritBit/stringtree.cmod

2012-04-10

2012-04-10 13:30:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tune reconnect logic, fixes a few problems.

Reapply all supplied runtime parameters afer a reconnect.
This does not work for search_path (yet) because of an omission in PostgreSQL.

2012-04-10 13:29:38 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix reconnect option; more efficient decoding of selectresult;
support text connection mode in queries

Text mode connection support is possible through a connection option and/or
through a query option. Turning this on will allow multiple statements
per query, but will also force communication to and from the database for
a query to be converted to text. For some queries, this is more efficient
than the binary method.

2012-04-10 08:35:37 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tune reconnect logic, fixes a few problems.

Reapply all supplied runtime parameters afer a reconnect.
This does not work for search_path (yet) because of an omission in PostgreSQL.

2012-04-10 08:35:36 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix reconnect option; more efficient decoding of selectresult;
support text connection mode in queries

Text mode connection support is possible through a connection option and/or
through a query option. Turning this on will allow multiple statements
per query, but will also force communication to and from the database for
a query to be converted to text. For some queries, this is more efficient
than the binary method.

2010-03-24

2010-03-24 13:27:29 by Stephen R. van den Berg <srb@cuci.nl>

Support calling num_rows() before the results are known.

Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.20

2009-04-10

2009-04-10 17:20:37 by Stephen R. van den Berg <srb@cuci.nl>

Improve error diagnostics with regard to parameter binding.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.67
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.19

2009-04-10 17:19:53 by Stephen R. van den Berg <srb@cuci.nl>

Fix formatting and whitespace.

Rev: lib/modules/Sql.pmod/pgsql.h:1.5
Rev: lib/modules/Sql.pmod/pgsql.pike:1.62
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.18
Rev: src/modules/_PGsql/PGsql.cmod:1.34

2009-02-28

2009-02-28 20:29:20 by Stephen R. van den Berg <srb@cuci.nl>

Clean up and fix UTF8/Unicode/wide string support for pgsql.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.60
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.17
Rev: src/modules/_PGsql/PGsql.cmod:1.33

2009-02-15

2009-02-15 21:53:40 by Stephen R. van den Berg <srb@cuci.nl>

Additional doc tuning.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.57
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.16

2009-02-15 16:15:41 by Stephen R. van den Berg <srb@cuci.nl>

Various documentation fixes.

Rev: lib/modules/Parser.pmod/Tabular.pike:1.5
Rev: lib/modules/Sql.pmod/pgsql.pike:1.56
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.15
Rev: src/modules/Msql/msqlmod.c:1.31
Rev: src/modules/Postgres/pgresult.c:1.40
Rev: src/modules/Postgres/postgres.c:1.65

2009-02-12

2009-02-12 21:07:01 by Stephen R. van den Berg <srb@cuci.nl>

Use String.Buffer in pgsql.

Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.14

2009-02-02

2009-02-02 11:52:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Improve robustness in case of dangling transactions.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.52
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.13

2009-01-25

2009-01-25 18:53:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed Autodoc mk II markup.

Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.12

2009-01-19

2009-01-19 09:21:20 by Stephen R. van den Berg <srb@cuci.nl>

Documentation fixes for pgsql.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.47
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.11
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.7

2009-01-06

2009-01-06 10:04:47 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Initialise datarowsdesc in case an error occurs early on.

Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.10

2008-09-02

2008-09-02 11:51:20 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tuned and fixed bulkdata COPY load and dump commands.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.40
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.9

2008-08-25

2008-08-25 12:04:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Repair big_query() to return all results as strings.
Use big_typed_query() to return native Pike types.

Rev: CHANGES:1.130
Rev: lib/modules/Sql.pmod/pgsql.pike:1.34
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.8
Rev: lib/modules/Sql.pmod/postgres.pike:1.38
Rev: src/modules/_PGsql/PGsql.cmod:1.27

2008-08-05

2008-08-05 18:56:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql close memory leak

Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.7
Rev: src/modules/_PGsql/PGsql.cmod:1.20

2008-08-04

2008-08-04 09:18:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql provide statistics and tune SQL-compilationcache

Rev: CHANGES:1.124
Rev: lib/modules/Sql.pmod/pgsql.h:1.2
Rev: lib/modules/Sql.pmod/pgsql.pike:1.23
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.6
Rev: src/modules/_PGsql/PGsql.cmod:1.19

2008-07-31

2008-07-31 10:32:36 by Stephen R. van den Berg <srb@cuci.nl>

PGsql Use TCP_NODELAY to squeeze out the last ounce of performance

Rev: lib/modules/Sql.pmod/pgsql.pike:1.19
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.5
Rev: src/modules/_PGsql/PGsql.cmod:1.17
Rev: src/modules/_PGsql/configure.in:1.7

2008-07-31 00:05:06 by Stephen R. van den Berg <srb@cuci.nl>

pgsql tuned for small queries with fetchlimit=0

Rev: lib/modules/Sql.pmod/pgsql.pike:1.18
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.4

2008-07-30

2008-07-30 10:48:16 by Stephen R. van den Berg <srb@cuci.nl>

pgsql cleaned up _sprintf verbosity, amended CHANGES, use String.secure

Rev: CHANGES:1.123
Rev: lib/modules/Sql.pmod/pgsql.pike:1.16
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.3
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.4

2008-07-27

2008-07-27 18:15:00 by Stephen R. van den Berg <srb@cuci.nl>

PGsql superfluous diagnostics be gone

Rev: lib/modules/Sql.pmod/pgsql.pike:1.15
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.2

2008-07-27 18:11:14 by Stephen R. van den Berg <srb@cuci.nl>

PGsql got rid of those pesky circular references

Rev: lib/modules/Sql.pmod/pgsql.h:1.1
Rev: lib/modules/Sql.pmod/pgsql.pike:1.14
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.1
Rev: src/modules/_PGsql/PGsql.cmod:1.14