Branch: Tag:

2019-11-02

2019-11-02 20:18:26 by Peter Bortas <bortas@gmail.com>

Change "?->" to the new "->?" syntax throughout Pike

2019-05-04

2019-05-04 09:12:19 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2019-03-14

2019-03-14 10:39:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '2470270f500c728d10b8895314d8d8b07016e37b' into grubba/typechecker-automap

* commit '2470270f500c728d10b8895314d8d8b07016e37b': (18681 commits)
Removed the old typechecker.
...

2019-02-06

2019-02-06 22:14:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid excessive latency on frequent ping()s.

2018-12-08

2018-12-08 15:31:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch '8.1'

* 8.1:
Thread.Condition: Improve docs.
pgsql: Avoid excessive latency on frequent ping()s.

2018-12-07

2018-12-07 09:10:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid excessive latency on frequent ping()s.

2018-11-12

2018-11-12 13:06:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid excessive latency on frequent ping()s.

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

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-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-16

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

pgsql: Add streaming_typed_query() method to avoid emulate_bindings().

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-03

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

Merge branch '8.1' into peter/travis

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.

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-22

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

pgsql: Clarify docs.

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

pgsql: Clarify docs.

2017-11-30

2017-11-30 01:20:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Use a minithread to start up the query instead of call_out().

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

pgsql: Use a minithread to start up the query instead of call_out().

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:29:11 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fixed broken variant overloading of query functions.

2017-11-22

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-21

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

Doc fixes.

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

Doc fixes.

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>

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

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

Crypto.SCRAM: New module.

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: Eliminate connectfail() backreferences.

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-16

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

pgsql: Run _lost callbacks on TCP-resets.

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

pgsql: Run _lost callbacks on TCP-resets.

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 20:21:17 by Martin Nilsson <nilsson@fastmail.com>

Removed pointless Stdio.Buffer API. Less complex code and equal performancewise.

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:47:35 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors in destructed objects.

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-13

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

Crypto.SCRAM: Streamline API and update docs.

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

Crypto.SCRAM: API updated, implemented serverside and testsuite.

2017-11-12

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

pgsql: Still allow empty or unspecified credentials.

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

pgsql: Use Crypto.SCRAM.

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

pgsql: Still allow empty or unspecified credentials.

2017-11-12 00:20:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slightly reduce memory footprint of the SCRAM-algorithm.

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

pgsql: Slightly reduce memory footprint of the SCRAM-algorithm.

2017-11-11

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

pgsql: Make syntax 8.0 compatible.

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

pgsql: Make syntax 8.0 compatible.

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:27:26 by Stephen R. van den Berg <srb@cuci.nl>

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

2017-11-09

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

pgsql: Inline the various big_query() variants.

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

pgsql: Inline the various big_query() variants.

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-07-10

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

pgsql: Clean up transient error/warning messages.

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

pgsql: Clean up transient error/warning messages.

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:31 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress errors if the server gets lost.

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:01:30 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Omit qportals on CancelRequest connections, eliminates interference.

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: Suppress errors if the server gets lost.

2017-06-28

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

pgsql: Do not mess with the portal stack on cancellations.

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

pgsql: Do not mess with the portal stack on cancellations.

2017-06-27

2017-06-27 12:43:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress spurious message if there are no pending messages.

2017-06-27 12:42:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Suppress spurious message if there are no pending messages.

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

pgsql: Short circuit prepared statement-cache race.

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

pgsql: Accellerate BEGIN/COMMIT statements.

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

pgsql: Avoid dangling portals on 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: Flush out unseen error/warning messages upon connection close.

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

pgsql: Preserve initial errormessage for multiple failures in one transaction.

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

pgsql: Avoid dangling portals on errors.

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

pgsql: Short circuit prepared statement-cache race.

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: Preserve initial errormessage for multiple failures in one transaction.

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

pgsql: Flush out unseen error/warning messages upon connection close.

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

pgsql: Accellerate BEGIN/COMMIT statements.

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-06

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

pgsql: By default serialise portal use; avoids unexpected parallelism.

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

pgsql: By default serialise portal use; avoids unexpected parallelism.

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: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: Add instrumentation to aid in diagnosing raceconditions.

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-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-07

2016-11-07 13:08:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Revert portal purge change, race condition was elsewhere.

2016-11-07 13:07:45 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Revert portal purge change, race condition was elsewhere.

2016-11-07 12:55:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix typo.

2016-11-07 12:55:13 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix typo.

2016-11-07 12:53:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release started statements upon destruct.

2016-11-07 12:53:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Release started statements upon destruct.

2016-11-07 12:36:53 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Stop at the first non-object portal.

2016-11-07 12:36:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Stop at the first non-object portal.

2016-11-07 11:54:20 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Even wipe the portal list if you start with portal==0.

2016-11-07 11:52:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Even wipe the portal list if you start with portal==0.

2016-11-05

2016-11-05 16:54:08 by Martin Nilsson <nilsson@fastmail.com>

Added #pragma dynamic_dot

2016-10-18

2016-10-18 22:38:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix race when connections are closing and receive new commands.

2016-10-18 22:38:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix race when connections are closing and receive new commands.

2016-10-15

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: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 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-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 08:59:44 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Zero connection object only in the main thread.

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

pgsql: Zero connection object only in the main thread.

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 20:36:09 by Stephen R. van den Berg <srb@cuci.nl>

Revert "pgsql: Kludge around clone race in Pike core."

This reverts commit cf00cb85e1defdc09d1cca6ada1c9b1eb1e0853a.

The kludge should not be needed anymore due to a checked in fix
in the Pike compiler.

2016-02-25 20:32:43 by Stephen R. van den Berg <srb@cuci.nl>

Revert "pgsql: Kludge around clone race in Pike core."

This reverts commit f339d7f8c91c995295fd74d52d95a6518b3a61fa.

The kludge should not be needed anymore due to a checked in fix
in the Pike compiler.

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

pgsql: Kludge around clone race in Pike core.

As reported by Jeff Hungerford:

When there is:
- No connection at present.
- Two or more threads try to open an initial connection to the database
simultaneously.

You can trigger this:

Attempting to clone an unfinished program
/usr/local/pike/8.0.175/lib/modules/Sql.pmod/Sql.pike:342:
Sql.Sql()->create("localhost:5432","foo","bar","CENSORED",UNDEFINED)

This could be caused by a race in the Pike-core class-cloning code which
is not racefree when two threads try to instantiate the same object
at roughly the same instant.

This patch attempts a workaround to detect the race and loop until
it finishes without problems. It would be better if this could be
fixed in the Pike-core.

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

pgsql: Kludge around clone race in Pike core.

As reported by Jeff Hungerford:

When there is:
- No connection at present.
- Two or more threads try to open an initial connection to the database
simultaneously.

You can trigger this:

Attempting to clone an unfinished program
/usr/local/pike/8.0.175/lib/modules/Sql.pmod/Sql.pike:342:
Sql.Sql()->create("localhost:5432","foo","bar","CENSORED",UNDEFINED)

This could be caused by a race in the Pike-core class-cloning code which
is not racefree when two threads try to instantiate the same object
at roughly the same instant.

This patch attempts a workaround to detect the race and loop until
it finishes without problems. It would be better if this could be
fixed in the Pike-core.

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-18

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

pgsql: Callback race with object destruction.

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

pgsql: Callback race with object destruction.

2016-02-18 09:54:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Catch destruct races.

2016-02-18 09:54:23 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not rethrow MAGICTERMINATE.

2016-02-18 09:54:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Catch destruct races.

2016-02-18 09:54:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Do not rethrow MAGICTERMINATE.

2016-02-17

2016-02-17 22:46:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Check for destructed object first, before examining members.

2016-02-17 22:45:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Check for destructed object first, before examining members.

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

pgsql: Shortcut to close descriptors when in a destructed object.

2016-02-17 22:38:58 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Shortcut to close descriptors when in a destructed object.

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

pgsql: Simplify code.

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:14 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Simplify code.

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:22:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Clear out cruft and fix reconnect reporting.

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

pgsql: Clear out cruft and fix reconnect reporting.

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-20

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

Removed _sprintf parameters where they are not used.

2015-12-10

2015-12-10 22:11:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: waitforauthready sometimes has been destructed already.

2015-12-10 22:10:40 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: waitforauthready sometimes has been destructed already.

2015-12-09

2015-12-09 00:54:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race condition for parallel queries, do not reset counters.

2015-12-09 00:54:47 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Account for serverside closed connections.

2015-12-09 00:54:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Avoid race condition for parallel queries, do not reset counters.

2015-12-09 00:54:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Account for serverside closed connections.

2015-12-05

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:29 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Some warnings are fatal and require a reconnect.

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: Some warnings are fatal and require a reconnect.

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-07-07

2015-07-07 13:45:56 by Arne Goedeke <el@laramies.com>

Protocols.HTTP/pgsql: fixed possible call of the NULL value

a?->b() is equivalent to (a && a->b)(). In order to make the call
optional, a?->b && a->b() has to be used, instead.

2015-07-07 13:33:23 by Arne Goedeke <el@laramies.com>

Protocols.HTTP/pgsql: fixed possible call of the NULL value

a?->b() is equivalent to (a && a->b)(). In order to make the call
optional, a?->b && a->b() has to be used, instead.

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: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 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 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 13:13:09 by Stephen R. van den Berg <srb@cuci.nl>

Fix some more docs.

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

Fix some more docs.

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

Doc fixes.

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

Doc fixes.

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: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-21

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

pgsql: reconnect robustness improved.

2014-11-21 16:47:32 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: reconnect robustness improved.

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 09:03:12 by Chris Angelico <rosuav@gmail.com>

Revert "Fix typo in pgsql's _processloop"

This reverts commit 22dbe66d3b3a9265038982ee3f0c56c992311f34.

OOPS! The error was mine, oops ooops ooooops.

2014-11-20 08:48:32 by Chris Angelico <rosuav@gmail.com>

Fix typo in pgsql's _processloop

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

pgsql: Disappearing filedescriptors need to be reported later sometimes.

2014-11-20 08:13:27 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Disappearing filedescriptors need to be reported later sometimes.

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

This kludges around a parser bug in Pike 8.1.

It's a bit difficult to create an isolated testcase out of this.
Somebody please look into this.

Without this patch, the following test results in the error below:

> object b=Sql.pgsql("");
/usr/local/pike/8.1.0/lib/modules/Sql.pmod/pgsql.pike:696:switch(): Conditional expression is void.

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:46:23 by Stephen R. van den Berg <srb@cuci.nl>

This kludges around a parser bug in Pike 8.1.

It's a bit difficult to create an isolated testcase out of this.
Somebody please look into this.

Without this patch, the following test results in the error below:

> object b=Sql.pgsql("");
/usr/local/pike/8.1.0/lib/modules/Sql.pmod/pgsql.pike:696:switch(): Conditional expression is void.

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 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: Improve debugging output.

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:34:58 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Set preparedname earlier to eliminate a race with fast servers.

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

pgsql: Set preparedname earlier to eliminate a race with fast servers.

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-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 01:21:44 by Stephen R. van den Berg <srb@cuci.nl>

Update docs.

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

Update docs.

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 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-13

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

pgsql: Finetuned behaviour upon initial connection failure.

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

pgsql: Finetuned behaviour upon initial connection failure.

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 15:48:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Notify callers early when connections are not possible.

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

pgsql: Notify callers early when connections are not possible.

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

pgsql: Reset session urgently and deadlockfree.

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

pgsql: Reset session urgently and deadlockfree.

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

pgsql: Reset prepared statement numbering upon cache invalidation.

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

pgsql: Reset prepared statement numbering upon cache invalidation.

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

pgsql: Slow down driver even further.

Statements eligible to be automatically preparsed and kept in the
statement cache have to be parsed synchronously too to prevent
accidental reordering of parsing order.

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

pgsql: Slow down driver even further.

Statements eligible to be automatically preparsed and kept in the
statement cache have to be parsed synchronously too to prevent
accidental reordering of parsing order.

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 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 15:50:22 by Stephen R. van den Berg <srb@cuci.nl>

Avoid ?-> operator for now.

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

Avoid ?-> operator for now.

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:11:01 by Stephen R. van den Berg <srb@cuci.nl>

Fix code to match docs.

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

Fix code to match docs.

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 09:50:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Slow down driver by default, async parsing only on request.

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

pgsql: Slow down driver by default, async parsing only on request.

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:01 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Make statusfunctions wait until the connection has been established.

The driver has survived moderate testing in production servers (Roxen),
it is ready for production release.

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

pgsql: Support Val.null.

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

pgsql.resync interface fixed.

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

pgsql: Missed a spot where a portal could be undefined.

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

pgsql: Missed a spot where a portal could be undefined.

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

pgsql: Make statusfunctions wait until the connection has been established.

The driver has survived moderate testing in production servers (Roxen),
it is ready for production release.

2014-11-09 22:05:09 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.resync interface fixed.

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-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>

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: 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-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-11-02 21:05:23 by Martin Nilsson <nilsson@opera.com>

CPP isn't applied to the doc extractor.

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-09-30

2014-09-30 16:20:55 by Martin Nilsson <nilsson@opera.com>

this_program:: -> this::

2014-09-04

2014-09-04 15:57:43 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/8.0' into string_alloc

Conflicts:
src/stralloc.c

2014-08-26

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

Database creation doesn't work with bound parameters.

2014-08-26 09:01:13 by Stephen R. van den Berg <srb@cuci.nl>

You missed a spot. Adhere to the crazy indentation.

2014-08-26 09:01:12 by Stephen R. van den Berg <srb@cuci.nl>

Database creation doesn't work with bound parameters.

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-15

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

Secure random is the TLS default.

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-08-20

2012-08-20 11:17:20 by Chris Angelico <rosuav@gmail.com>

pgsql: Recognize the string "0" as a representation of boolean false

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-05-31

2012-05-31 15:50:23 by Eiichiro ITANI <emu@ceres.dti.ne.jp>

Sql.pgsql: Filter session_authorization from the runtime params.

From [bug 6366] comment #1:
| Currently our postgresql server is 8.2, Roxen5.2 has an problem and with
| this postgres, saying:
|
| RXML run error: Query failed: FATAL 22023: invalid value for parameter
| "session_authorization": "user"
| (guc.c:set_config_option:4260)
|
| So I just patched pgsql.pike like below:

2012-05-23

2012-05-23 17:27:11 by Eiichiro ITANI <emu@ceres.dti.ne.jp>

Sql.pgsql: Filter session_authorization from the runtime params.

From [bug 6366] comment #1:
| Currently our postgresql server is 8.2, Roxen5.2 has an problem and with
| this postgres, saying:
|
| RXML run error: Query failed: FATAL 22023: invalid value for parameter
| "session_authorization": "user"
| (guc.c:set_config_option:4260)
|
| So I just patched pgsql.pike like below:

2012-04-16

2012-04-16 10:26:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Documentation fixes.

2012-04-16 10:23:39 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Documentation fixes.

2012-04-12

2012-04-12 22:47:54 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add support for optional infinite reconnects.

2012-04-12 22:45:57 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Add support for optional infinite reconnects.

2012-04-10

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

pgsql: Prevent infinite loop on reconnect when the first statement throws an error.

2012-04-10 13:30:57 by Chris Angelico <rosuav@gmail.com>

pgsql: Add more parameters to the ignore list.

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:30:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support ping() and is_open().

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 13:28:02 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Lower latency for simple statements.
(BEGIN; COMMIT; simple deletes/updates/inserts)

Using those kinds of commands in separate big_query() calls
will generate a minimum of network traffic to and from the
database (provided you don't block the ability of the driver to
autocache prepared statements).

To give an example:
As of now a simple sequence of four consecutive:

big_query("BEGIN");
big_query("DELETE ...");
big_query("INSERT ...");
big_query("COMMIT");

statements is almost as fast
as a simple "BEGIN; DELETE ...; INSERT ...; COMMIT;".

2012-04-10 11:04:59 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Prevent infinite loop on reconnect when the first statement throws an error.

2012-04-10 11:04:59 by Chris Angelico <rosuav@gmail.com>

pgsql: Add more parameters to the ignore list.

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

pgsql: Support ping() and is_open().

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: Lower latency for simple statements.
(BEGIN; COMMIT; simple deletes/updates/inserts)

Using those kinds of commands in separate big_query() calls
will generate a minimum of network traffic to and from the
database (provided you don't block the ability of the driver to
autocache prepared statements).

To give an example:
As of now a simple sequence of four consecutive:

big_query("BEGIN");
big_query("DELETE ...");
big_query("INSERT ...");
big_query("COMMIT");

statements is almost as fast
as a simple "BEGIN; DELETE ...; INSERT ...; COMMIT;".

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.

2012-04-04

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

pgsql: Support reconnect option.

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

pgsql: Support wide strings for BYTEA types.

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

pgsql: Properly fix authentication errors.

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

pgsql: Throw authentication errors early.

2012-04-04 07:57:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Properly fix authentication errors.

2012-04-04 07:57:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support wide strings for BYTEA types.

2012-04-04 07:57:18 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Throw authentication errors early.

2012-04-04 07:51:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Support reconnect option.

2011-10-03

2011-10-03 14:12:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.pgsql: sendterminate() implies close().

close() may not be called on a closed connection.
Thanks to Carl Grubbström <carl@taxisystem.se> for the report.

2011-10-03 14:11:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.pgsql: sendterminate() implies close().

close() may not be called on a closed connection.
Thanks to Carl Grubbström <carl@taxisystem.se> for the report.

2011-01-09

2011-01-09 13:06:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql: Some Autodoc mk II markup fixes.

2010-03-23

2010-03-23 18:15:42 by Stephen R. van den Berg <srb@cuci.nl>

Properly fix authentication errors.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.79

2010-03-23 18:04:26 by Stephen R. van den Berg <srb@cuci.nl>

Throw authentication errors early.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.78

2010-03-23 18:04:19 by Stephen R. van den Berg <srb@cuci.nl>

Do not reconnect on authentication failures.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.77

2010-02-16

2010-02-16 01:36:02 by Stephen R. van den Berg <srb@cuci.nl>

Sync pgsql portals with server after a reconnect.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.76

2010-02-15

2010-02-15 18:38:56 by Stephen R. van den Berg <srb@cuci.nl>

Normalise indentation.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.75

2010-02-15 18:38:48 by Stephen R. van den Berg <srb@cuci.nl>

Fix pgsql autoreconnect behaviour.

Rev: CHANGES:1.205
Rev: lib/modules/Sql.pmod/pgsql.pike:1.74

2010-02-14

2010-02-14 14:10:46 by Stephen R. van den Berg <srb@cuci.nl>

Clear dangling cache entry for CREATE statements.

Rev: CHANGES:1.204
Rev: lib/modules/Sql.pmod/pgsql.pike:1.73

2009-09-21

2009-09-21 06:40:50 by Stephen R. van den Berg <srb@cuci.nl>

Extra debugging output isn't possible always.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.72

2009-09-09

2009-09-09 14:22:52 by Stephen R. van den Berg <srb@cuci.nl>

Instead of crashing, report non-UTF8 characters in a supposedly UTF8 object.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.71

2009-04-17

2009-04-17 22:16:39 by Stephen R. van den Berg <srb@cuci.nl>

Drop CryptPassword support.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.70

2009-04-17 22:16:30 by Stephen R. van den Berg <srb@cuci.nl>

Convert non-existent strings to NULL values.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.69

2009-04-16

2009-04-16 09:34:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some Autodoc markup fixes.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.68

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:20:28 by Stephen R. van den Berg <srb@cuci.nl>

XML types should be passed without conversion.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.66
Rev: src/modules/_PGsql/PGsql.cmod:1.35

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

Setting the charset cannot be done using a parameter.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.65

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

Update documentation.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.64

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

Fix transmitting false boolean values like 'off' to the database.
Breaks inside a catch break out of the enclosing catch only.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.63

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-03-21

2009-03-21 19:19:23 by Martin Stjernholm <mast@lysator.liu.se>

Some whitespace cleanups that git complains about.

Rev: bin/export.pike:1.74
Rev: lib/modules/Sql.pmod/pgsql.pike:1.61
Rev: src/modules/files/configure.in:1.115
Rev: src/modules/sprintf/sprintf.c:1.159

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-24

2009-02-24 13:04:02 by Stephen R. van den Berg <srb@cuci.nl>

Fix error in errorreports when no bindings are present.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.59

2009-02-22

2009-02-22 14:05:18 by Stephen R. van den Berg <srb@cuci.nl>

Return more complete and correct metainformation.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.58

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-13

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

Improve error reporting in case of binding-type errors across from pgsql.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.55

2009-02-12

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

Close statements were being suppressed.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.54

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

Fix typo in docs.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.53

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-02-01

2009-02-01 02:33:37 by Stephen R. van den Berg <srb@cuci.nl>

pgsql->error() should not return newline terminated strings.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.51

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

pgsql->error() should return zero upon no errors.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.50

2009-01-24

2009-01-24 16:51:22 by Stephen R. van den Berg <srb@cuci.nl>

Detect and complain about nul-characters in SQL-queries early.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.49

2009-01-24 16:50:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Explicitly cast empty strings to NULL for non-string types
before converting them into bound arguments.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.48

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-12

2009-01-12 10:09:09 by Stephen R. van den Berg <srb@cuci.nl>

Use has_value instead of search.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.46

2009-01-06

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

pgsql: Rephrase error message.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.45

2008-09-03

2008-09-03 16:19:27 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Tone down verbosity of %O.
Catch mismatches in bindings, most notably the COPY command
doesn't support binding parameters.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.44

2008-09-03 13:22:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Cleanup options.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.43

2008-09-03 12:30:41 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop needless condition.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.42

2008-09-02

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

pgsql: Make autocaching prepared statements configurable.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.41

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-27

2008-08-27 20:04:08 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Automatically invalidate cache on certain database errors.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.39

2008-08-27 20:03:43 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Drop bindings which are not referenced.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.38

2008-08-27 08:55:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Automatically invalidate cache on CREATE statements.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.37

2008-08-25

2008-08-25 23:39:16 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Polished native support for 64-bit ints and doubles.

Rev: CHANGES:1.131
Rev: lib/modules/Sql.pmod/pgsql.pike:1.36
Rev: src/modules/_PGsql/PGsql.cmod:1.29

2008-08-25 23:39:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Return the "char" type as string in textmode.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.35
Rev: src/modules/_PGsql/PGsql.cmod:1.28

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-22

2008-08-22 14:12:51 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Fix typo in lastmsgnl() function.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.33

2008-08-21

2008-08-21 21:17:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql more seemless reconnect, better reporting

Rev: CHANGES:1.129
Rev: lib/modules/Sql.pmod/pgsql.h:1.4
Rev: lib/modules/Sql.pmod/pgsql.pike:1.32

2008-08-21 11:15:50 by Stephen R. van den Berg <srb@cuci.nl>

pgsql doc update

Rev: CHANGES:1.128
Rev: lib/modules/Sql.pmod/pgsql.pike:1.31

2008-08-21 10:13:42 by Stephen R. van den Berg <srb@cuci.nl>

pgsql detect and act on surprise connection loss

Rev: lib/modules/Sql.pmod/pgsql.pike:1.30

2008-08-21 03:14:04 by Stephen R. van den Berg <srb@cuci.nl>

pgsql support backward compatibility for boolean and non-string values

Rev: lib/modules/Sql.pmod/pgsql.pike:1.29
Rev: lib/modules/Sql.pmod/postgres.pike:1.37
Rev: src/modules/_PGsql/PGsql.cmod:1.25

2008-08-20

2008-08-20 19:25:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql support set/get charset

Rev: lib/modules/Sql.pmod/pgsql.pike:1.28

2008-08-12

2008-08-12 07:09:03 by Stephen R. van den Berg <srb@cuci.nl>

pgsql String.secure needs a real string

Rev: lib/modules/Sql.pmod/pgsql.pike:1.27
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.6

2008-08-09

2008-08-09 16:20:56 by Stephen R. van den Berg <srb@cuci.nl>

pgsql inet-type as text

Rev: lib/modules/Sql.pmod/pgsql.pike:1.26
Rev: src/modules/_PGsql/PGsql.cmod:1.21

2008-08-07

2008-08-07 23:09:19 by Stephen R. van den Berg <srb@cuci.nl>

pgsql optimise for LIMIT 1 and alow statementcaching to be forced

Rev: lib/modules/Sql.pmod/pgsql.pike:1.25

2008-08-05

2008-08-05 22:54:22 by Stephen R. van den Berg <srb@cuci.nl>

pgsql optimise, full callback support, _reconnect callback, correct stats

Rev: lib/modules/Sql.pmod/pgsql.pike:1.24

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-08-01

2008-08-01 16:17:33 by Stephen R. van den Berg <srb@cuci.nl>

pgsql expose runtimeparameters

Rev: lib/modules/Sql.pmod/pgsql.pike:1.22

2008-08-01 13:52:40 by Stephen R. van den Berg <srb@cuci.nl>

pgsql tune docs

Rev: lib/modules/Sql.pmod/pgsql.pike:1.21

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

pgsql updated docs and fallback for postgres if libpq not present

Rev: lib/modules/Sql.pmod/pgsql.pike:1.20
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.5
Rev: lib/modules/Sql.pmod/postgres.pike:1.35

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 12:11:09 by Stephen R. van den Berg <srb@cuci.nl>

pgsql Accumulate warnings per query

Rev: lib/modules/Sql.pmod/pgsql.pike:1.17

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

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

PGsql, fix a few typos, proper use of classes, cleanup stackhandling

Rev: lib/modules/Sql.pmod/pgsql.pike:1.13
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.3
Rev: src/modules/_PGsql/PGsql.cmod:1.13
Rev: src/modules/_PGsql/configure.in:1.6

2008-07-26

2008-07-26 18:31:21 by Stephen R. van den Berg <srb@cuci.nl>

PGsql avoid xrealloc, include SSL support, small bugfixes

Rev: CHANGES:1.122
Rev: lib/modules/Sql.pmod/pgsql.pike:1.12
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.1
Rev: src/modules/_PGsql/PGsql.cmod:1.11

2008-07-26 11:04:44 by Stephen R. van den Berg <srb@cuci.nl>

PGsql eliminated last systemcall, write()

Rev: lib/modules/Sql.pmod/pgsql.pike:1.11
Rev: src/modules/_PGsql/PGsql.cmod:1.10

2008-07-26 10:53:54 by Stephen R. van den Berg <srb@cuci.nl>

PGsql get rid off systemcall dependencies and fix configure.in

Rev: lib/modules/Sql.pmod/pgsql.pike:1.10
Rev: src/modules/_PGsql/PGsql.cmod:1.9
Rev: src/modules/_PGsql/configure.in:1.5

2008-07-26 08:04:32 by Stephen R. van den Berg <srb@cuci.nl>

PGsql tuned buffer size to minimal

Rev: lib/modules/Sql.pmod/pgsql.pike:1.9
Rev: src/modules/_PGsql/PGsql.cmod:1.8

2008-07-26 01:04:24 by Stephen R. van den Berg <srb@cuci.nl>

pgsql tuned, 62% faster than old libpq postgres driver

Rev: CHANGES:1.121
Rev: lib/modules/Sql.pmod/pgsql.pike:1.8
Rev: src/modules/_PGsql/PGsql.cmod:1.5

2008-07-25

2008-07-25 21:46:13 by Stephen R. van den Berg <srb@cuci.nl>

Debugged and tuned PGsql, made portable to Windows

Rev: lib/modules/Sql.pmod/pgsql.pike:1.7
Rev: src/modules/_PGsql/PGsql.cmod:1.4

2008-07-25 11:14:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed warning.
read_cb() is only used in buffered mode.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.6

2008-07-24

2008-07-24 20:26:52 by Stephen R. van den Berg <srb@cuci.nl>

Sql.pgsql debugged and tuned
New _PGsql.PGsql cmod to assist Sql.pgsql in performance critical
sections.
Performance of the pgsql driver is now at 66% of the old libpq
implementation (for smaller row results, worst case).

Rev: CHANGES:1.120
Rev: lib/modules/Sql.pmod/pgsql.pike:1.5
Rev: src/modules/_PGsql/Makefile.in:1.1
Rev: src/modules/_PGsql/PGsql.cmod:1.1
Rev: src/modules/_PGsql/acconfig.h:1.1
Rev: src/modules/_PGsql/configure.in:1.1
Rev: src/modules/_PGsql/testsuite.in:1.1

2008-07-16

2008-07-16 00:19:11 by Peter Bortas <zino@lysator.liu.se>

Merge 'tags/v7.7.90': This compiles.

2008-07-16 00:19:10 by Peter Bortas <zino@lysator.liu.se>

This compiles.

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

2008-07-16 00:08:06 by Peter Bortas <zino@lysator.liu.se>

Merge 'tags/v7.7.90': Fixed doc typo.

2008-07-16 00:08:05 by Peter Bortas <zino@lysator.liu.se>

Fixed doc typo.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.3

2008-07-14

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

pgsql, fixed ERROR macro, added mutexprofiling

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

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

New Sql.pgsql native Postgres network protocol database support

Rev: CHANGES:1.116
Rev: lib/modules/Sql.pmod/pgsql.pike:1.1