eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

242
active users

#postgresql

9 posts8 participants1 post today

After a month of serious use and study of PostgreSQL, I can say that I absolutely stand by this technology. It is rare that I found something that disappointed me.

Speaking of which, I find PostgreSQL's lack of support for the IGNORE NULLS behaviour on window functions to be quite unfortunate.

Movim is officially dropping support for MySQL ⚠️

It is too difficult to maintain compatibility with all the quirks and specificity of this database 😔 MySQL was already broken for a while (migrations not running, broken queries).

Don't worry we are still fully compatible with PostgreSQL (that is the recommended one) and MariaDB. You can find those two databases in all the major distributions 😊

This will greatly simplify and streamline the development of the project ✨

New blogpost: blog.tyk.nu/blog/the-story-of-

It is a lovely story about debugging TLS connection issues from Django to PostgreSQL.

The root cause turned out to be libpq erroring out when running with the environment variable $HOME set to an existing but unreadable path, in this case "/root"

Enjoy!

blog.tyk.nuThe Story of PostgreSQL Choking on an Unreadable $HOME - TykBlogTyklings blog

Did you know PostgreSQL has its own built-in full-text search engine? 🔎📝

-- Create a tsvector column with GIN index
ALTER TABLE articles ADD COLUMN search_vector tsvector;
CREATE INDEX articles_search_idx ON articles USING GIN (search_vector);

UPDATE articles SET search_vector =
to_tsvector('english', title || ' ' || content);

-- Search
SELECT title FROM articles
WHERE search_vector @@ to_tsquery('english', 'postgresql & search');