PostgreSQL connection strings embedded in your application can take two different forms: the key-value notation or the postgresql:// URI scheme. When it comes to using psql though, another form of connection string is introduced, with command line options -h -p -U and environment variable support. In this short article you will learn that you can use either of the three different forms in psql and thus easily copy & paste you application connection string right at the console to test it!
Changing the password for a PostgreSQL database user involves two steps: The change in the database and the change in the application code. This blog post describes how to do this without any downtime or failed authentication tries.
gajus/slonik: A PostgreSQL client with strict types, detailed logging and assertions.
A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL. - GitHub - gajus/slonik: A Node.js PostgreSQL client with runtime and build time type safety, and composable...
Comparing Postgres JSONB with NoSQL | The Couchbase Blog
Learn the different use cases for when to use Postgres 11 with JSONB and when to use a NoSQL database such as Couchbase. Start learning with Couchbase today.
powa-team/pg_qualstats: A PostgreSQL extension for collecting statistics about predicates, helping find what indices are missing
A PostgreSQL extension for collecting statistics about predicates, helping find what indices are missing - GitHub - powa-team/pg_qualstats: A PostgreSQL extension for collecting statistics about pr...
Casecommons/pg_search: pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search
pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search - GitHub - Casecommons/pg_search: pg_search builds ActiveRecord named scopes that take advantage of ...
Here’s a little trick I worked out a while back. Along the way I’llintroduce two tools, direnv and Nix, which I’ve found super helpful whendeveloping many di...
afair/postgresql_cursor: ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set
ActiveRecord PostgreSQL Adapter extension for using a cursor to return a large result set - GitHub - afair/postgresql_cursor: ActiveRecord PostgreSQL Adapter extension for using a cursor to return ...
A glance at pg_cron to automatically schedule database tasks – Luca Ferrari – Open Source advocate, human being
I tend to use cron(1) to schedule some automated tasks on the database server side, and since I discovered the pg_cron extension, I decided to try it. Here are some impressions.
When Postgres blocks: 7 tips for dealing with locks
In our previous post, we explored locking behavior in Postgres and which types of operations hold locks against other. In this post, we highlight 7 common mistakes developers face dealing with Postgres locks. A list of do’s & don’ts based on our work with developers building apps on top of Postgres and Citus.
Indexes in PostgreSQL — 7 (GIN) / Postgres Professional corporate blog / Habr
We have already got acquainted with PostgreSQL indexing engine and the interface of access methods and discussed hash indexes , B-trees , as well as GiST and SP-GiST indexes. And this article will...