<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/duckdb-ships-free-iceberg-writes-postgres-18-fixes-lying-audit-logs-tfbvovbvu" -->

---
title: DuckDB ships free Iceberg writes, Postgres 18 fixes...
description: DuckDB 1.5.3 adds full Iceberg write support, which combined with free dbt Core means you can run a real lakehouse stack on a laptop instead of paying...
canonical: https://daily.dev/posts/duckdb-ships-free-iceberg-writes-postgres-18-fixes-lying-audit-logs-tfbvovbvu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: DuckDB ships free Iceberg writes, Postgres 18 fixes lying audit logs | daily.dev
og:description: DuckDB 1.5.3 adds full Iceberg write support, which combined with free dbt Core means you can run a real lakehouse stack on a laptop instead of paying...
og:url: https://daily.dev/posts/duckdb-ships-free-iceberg-writes-postgres-18-fixes-lying-audit-logs-tfbvovbvu
og:image: https://api.daily.dev/og/posts/tfBvOvbvu.png
og:image:alt: DuckDB ships free Iceberg writes, Postgres 18 fixes lying audit logs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# DuckDB ships free Iceberg writes, Postgres 18 fixes lying audit logs

**[Databases Digest](https://daily.dev/sources/databases_digest)** · 4 min read · 0 upvotes · 0 comments

## Summary

DuckDB 1.5.3 adds full Iceberg write support, which combined with free dbt Core means you can run a real lakehouse stack on a laptop instead of paying Snowflake or Databricks. Postgres 18's new RETURNING-with-old-and-new-values trick closes a classic lost-update race in accounting and audit code. Oracle's Orasort algorithm went public domain in 2024 and Postgres and MySQL are reportedly experimenting with its 8-bytes-per-register string comparison trick. Polars 2.0 RC makes its streaming engine the default, which is 5x faster but silently stops guaranteeing row order in joins and group-bys.

## Content

**TLDR:** DuckDB 1.5.3 adds full Iceberg write support, which combined with free dbt Core means you can run a real lakehouse stack on a laptop instead of paying Snowflake or Databricks. Postgres 18's new RETURNING-with-old-and-new-values trick closes a classic lost-update race in accounting and audit code. Oracle's Orasort algorithm went public domain in 2024 and Postgres and MySQL are reportedly experimenting with its 8-bytes-per-register string comparison trick. Polars 2.0 RC makes its streaming engine the default, which is 5x faster but silently stops guaranteeing row order in joins and group-bys.

---

## DuckDB 1.5.3 adds full Iceberg write support, closing the lakehouse-on-a-laptop gap

MERGE INTO, ALTER TABLE, partition transforms, and Iceberg V3 support mean you no longer need a Spark cluster to write to Iceberg tables locally. Paired with dbt Core's unlimited-seat Apache 2.0 license and Iceberg's growing ecosystem maturity (Polaris now a top-level Apache project), the argument is that the $300K-$500K/year cloud infrastructure bill that used to gatekeep lakehouse experience is no longer a hard requirement. Real gaps remain around concurrent writes and production-grade observability, so treat this as a portfolio-building tool, not a Snowflake replacement. [Read more](https://daily.dev/posts/ref3HgDd3)

## Postgres 18's RETURNING can reference old and new row values in one statement

A classic lost-update bug is easy to trigger: ten concurrent workers each subtract 10 from a balance of 100, and without proper locking the final balance and audit log both end up wrong in a way that looks perfectly normal. Postgres 18 fixes the audit-trail half of that problem by letting a single UPDATE's RETURNING clause see both the old and new row, so the arithmetic and the audit record commit atomically. The post also swaps out the old xmax::text::bigint <> 0 hack for detecting INSERT vs UPDATE with the cleaner old.id IS NULL, though watch out if you have a column literally named 'old'. [Read more](https://daily.dev/posts/I4Z4AzBfm)

## Oracle's Orasort patent expired in 2024, and open-source databases are already borrowing it

Orasort packs 8 bytes of a string into a 64-bit integer so comparisons happen a full CPU register at a time instead of byte-by-byte, cutting CPU work by roughly 5x for sorting. The patent, registered to Mark Callaghan, ran out its 20-year term in 2024 and is now public domain, and MySQL and PostgreSQL are reportedly starting to experiment with integrating the technique. If you've ever wondered why Oracle sorts felt suspiciously fast, this is a big part of the answer, and it's about to become everyone's answer. [Read more](https://daily.dev/posts/wyibiJVwp)

## Polars 2.0 RC makes streaming the default and quietly drops row-order guarantees

The release candidate (pip install polars==2.0rc1) flips LazyFrame collect() to use the streaming engine by default, which brings roughly 5x faster execution and lower memory use on big datasets. The catch: joins, group_by, and unpivot no longer preserve row order unless you explicitly sort or pass maintain_order=True, and pipelines that quietly depended on incidental ordering can break without warning. The 2.0 line also tightens error handling across the board — lossy is_in coercions, mismatched-length concatenation, and ambiguous casts all now raise instead of silently returning wrong results, which is the trade worth making. [Read more](https://daily.dev/posts/R0YGj36hu)

---

## Also notable

- **Keyset pagination keeps query cost flat as page depth grows:** Offset-based pagination forces the database to scan and discard every skipped row, so cost grows linearly with page number, while keyset pagination remembers the last seen ID and uses an index range scan to jump straight to the next batch — the trade-off being you lose the ability to jump to an arbitrary page. [Read more](https://daily.dev/posts/RTmY8oqZf)
- **AI agents can drop tables faster than any ransomware crew:** An AWS disaster-recovery veteran notes that AI agents with legitimate database access are now causing accidental or malicious data loss at a speed far exceeding human-driven ransomware incidents, even though detection and recovery methods look basically the same. [Read more](https://daily.dev/posts/8dhl5tmGP)
- **A charity-impersonation detector on Snowflake nails 97.8% precision but misses most disaster-relief clones:** Tested against 45,400 real organizations plus 400 seeded fakes, the system's 0.94 cosine-similarity threshold catches only 18 of 108 clones that append phrases like 'Fire Relief' to a real charity's name, illustrating how brittle semantic-similarity thresholds get against adversarial name tweaks — the same 119-domain wildfire-relief scam tactic that inspired the project. [Read more](https://daily.dev/posts/JXxjrn3jR)

## Similar posts on daily.dev

- [Iceberg Writes in DuckDB-Iceberg](https://daily.dev/posts/iceberg-writes-in-duckdb-iceberg-9cvyktizo) · DuckDB · 4 upvotes · 0 comments
- [What's New in DuckLake 1.1](https://daily.dev/posts/what-s-new-in-ducklake-1-1-ianfwyl6j) · DuckLake Blog · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#duckdb](https://daily.dev/tags/duckdb), [#apache-iceberg](https://daily.dev/tags/apache-iceberg), [#polars](https://daily.dev/tags/polars)

[View this post on daily.dev](https://daily.dev/posts/duckdb-ships-free-iceberg-writes-postgres-18-fixes-lying-audit-logs-tfbvovbvu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/duckdb-ships-free-iceberg-writes-postgres-18-fixes-lying-audit-logs-tfbvovbvu","headline":"DuckDB ships free Iceberg writes, Postgres 18 fixes lying audit logs","text":"DuckDB 1.5.3 adds full Iceberg write support, which combined with free dbt Core means you can run a real lakehouse stack on a laptop instead of paying Snowflake or Databricks. Postgres 18's new RETURNING-with-old-and-new-values trick closes a classic lost-update race in accounting and audit code. Oracle's Orasort algorithm went public domain in 2024 and Postgres and MySQL are reportedly experimenting with its 8-bytes-per-register string comparison trick. Polars 2.0 RC makes its streaming engine the default, which is 5x faster but silently stops guaranteeing row order in joins and group-bys.","url":"https://daily.dev/posts/duckdb-ships-free-iceberg-writes-postgres-18-fixes-lying-audit-logs-tfbvovbvu","datePublished":"2026-09-07T04:17:37.111Z","dateModified":"2026-09-07T04:18:00.139Z","author":{"@type":"Organization","name":"Databases Digest","logo":"https://media.daily.dev/image/upload/s--ir1hdV8b--/f_auto,q_auto/v1773839400/logos/databases_digest?_a=BAMAMiiu0","url":"https://daily.dev/sources/databases_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/databases_digest","name":"Databases Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Databases Digest","item":"https://daily.dev/sources/databases_digest"},{"@type":"ListItem","position":3,"name":"DuckDB ships free Iceberg writes, Postgres 18 fixes lying audit logs"}]}
```

