frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

What Is a Collation, and Why Is My Data Corrupt? – PG Phridays with Shaun Thomas

2•pgedge_postgres•3h ago
Postgres has relied on the OS to handle text sorting for most of its history. When glibc 2.28 shipped in 2018 with a major Unicode collation overhaul, every existing text index built under the old rules became invalid... but silently. No warnings, no errors. Just wrong query results and missed rows.

Postgres 17 added a builtin locale provider that removes the external dependency entirely:

initdb --locale-provider=builtin --locale=C.UTF-8

This change helps sorting to become stable across OS upgrades. glibc is still the default in Postgres 18, so this must be specified when creating a new cluster.

For clusters already running: Postgres 13+ will log a warning when a collation version changes. That warning is an instruction to rebuild affected indexes.

Get more details here in this week's PG Phriday blog post from Shaun Thomas: https://www.pgedge.com/blog/what-is-a-collation-and-why-is-my-data-corrupt

Anthropic no longer allowing Claude Code subscriptions to be used with OpenClaw

11•firloop•12m ago•3 comments

Ask HN: Are agents _still_ writing most of your code?

3•etamponi•1h ago•2 comments

What Is a Collation, and Why Is My Data Corrupt? – PG Phridays with Shaun Thomas

2•pgedge_postgres•3h ago•0 comments

Ask HN: Should we collectively stop spell checking and fixing grammar

3•sankalpnarula•4h ago•10 comments

Ask HN: Who is hiring? (April 2026)

272•whoishiring•2d ago•332 comments

Ask HN: Who wants to be hired? (April 2026)

83•whoishiring•2d ago•324 comments

Ask HN: Thought Exercise regarding RX dependency

2•Bender•6h ago•0 comments

Ask HN: Advice on Solo Launching

4•acaciabengo•7h ago•1 comments

Ask HN: What are you moving on to now that Claude Code is so rate limited?

5•esperent•8h ago•11 comments

Ask HN: Whether there is LLM or other strong NLP behind Hacker News?

2•Jet_Xu•9h ago•1 comments

Ask HN: Distributed data centers in our basements

72•cmos•3d ago•65 comments

Ask HN: How relevant is low code according to you in today’s world with Claude?

7•kinj28•1d ago•6 comments

LinkedIn uses 2.4 GB RAM across two tabs

792•hrncode•5d ago•454 comments

Tell HN: Chrome says "suspicious download" when trying to download yt-dlp

306•joering2•3d ago•96 comments

Ask HN: What is your dev set up like?

12•break_the_bank•1d ago•25 comments

Stripe closed my UAE business account and is withholding $3.5K

22•alganzory•1d ago•4 comments

Fixed a llama.cpp bug silently disabling Vulkan GPU on all 32-bit ARM devices

2•perinban•16h ago•0 comments

Ask HN: European Tech Alternatives?

100•BrunoBernardino•1d ago•55 comments

Ask HN: Client took over development by vibe coding. What to do?

59•piscator•2d ago•38 comments

Ask HN: What dev tools do you rely on that nobody talks about?

39•crcsmnky•2d ago•36 comments

Ask HN: Academic study on AI's impact on software development – want to join?

30•research2026•3d ago•15 comments

Training mRNA Language Models Across 25 Species for $165

3•maziyar•2d ago•1 comments

BetterDB – open-source Redis/Valkey migration across clouds and self-hosted

14•kaliades•2d ago•7 comments

Ask HN: Brian Kernighan's "Q"?

3•remywang•1d ago•0 comments

Ask HN: What happens when you block/mark as spam a call or text?

12•dsalzman•2d ago•3 comments

Are tech companies even hiring?

19•KernelPryanic•2d ago•18 comments

Ask HN: Who needs contributors? (March 2026)

28•Kathan2651•4d ago•17 comments

LinkedIn uses 65GB of RAM with 7 tabs opened

14•daniele_dll•3d ago•9 comments

Ask HN: Does anyone else notice that gas runs out faster than usual

20•cat-turner•3d ago•31 comments

Ask HN: What was it like in the era of BBS before the internet?

32•ex-aws-dude•4d ago•38 comments