reconcile-sequence-for-column!
logic to account for is_called
behavior.wrap-with-delayed-init
function to handle migrations from multiple directoriesuncompleted-migrations
function to not have any side-effects. Prior to this change, the routine would create the migraiton table if it didn't exist.uncompleted-migrations
function to prevent leak.create-db!
when the owner of the new database is a different user than
the one creating the database.has-role?
.db-exists?
, create-db!
, and drop-db!
.user-exists?
, create-user!
, and drop-user!
.consolidate-provider-status
to correctly report the status.setInitializationFailFast
was
set after the connection was made, which meant that the option wasn't applied
to the connection.reconcile-sequence-for-column!
so that it will
never set a sequence to a lower value than it currently has.NOWAIT
argument when locking a table for
reconcile-sequence-for-column!
. This is unlikely to do anything but cause
problems in most circumstances.spec->migration-db-spec
that would allow nil :password
keys to appear in the output. The same function now also properly separates
:user
from :migration-password
and :migration-user
from :password
,
so that the two sets of credentials won't be erroneously combined.combined-replication-status
(defaulting to four seconds) which will cause the replication status to be
unknown if the replication status cannot be retrieved in the span of the
timeout. This fixed a bug with replication-status
which caused
trapperkeeper-status checks to timeout when no database connection was
available because the replication status check was not timing out.reconcile-sequence-for-column!
that prevented it from
working when the given column was empty.:replication-mode
replicas waiting on migrations. If the
application is configured as a replica wait on migrations before initializing
the database (useful for waiting on pglogical replication which will
replicate the migrations).Add reconcile-sequence-for-column!
that will reset a sequence to the
maximum value in the column, or else 0.drop-public-functions!
utility function.options->hikari-config
using the :connection-check-timeout entry.select-user-configurable-hikari-options
.update-pglogical-replication-set
. If the db user doesn't have rights to update pglogical, catches the exception and returns false. Other exceptions are passed through.select-user-configurable-hikari-options
to provide a consistent way of preserving only the hikari specific options from a given map of options.wrap-with-delayed-init
does not allow the connectivity timeout to be configured independently. Added add-connectivity-check-timeout-ms
to allow independent configuration.handle-postgres-permission-errors
to generate a 500 code instead of a 403 when database permissions fail.middleware
namespace with ring middleware for catching Postgres permission errors and returning an http response.pglogical
namespace.puppetlabs/i18n
library and externalize strings.java.jdbc
dependency to 0.6.1. This version of java.jdbc
has breaking changes.core/query
- It is expected that users who don't want this functionality will either call jdbc/query
directly or implement their own wrapper using the component functions called by core/query
Can you improve this documentation? These fine people already did:
jonathannewman, Justin Holguin, Andrew Roetker, Patrick Carlisle, rileynewton, Jonathan Newman, Katie Lawhorn, Maria McGrew, Dan Lidral-Porter, aperiodic, Austin Blatt & Scott WalkerEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close