---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=neon&tag=privacy"
---

# Posts

Filtered by topics: Privacy, source: Neon.

Posts 1–8 of 8, page 1 of 1, newest first.

## 2026-10-01

- [pg\_redact: Content-aware PII redaction with Jev, enforced in Postgres](https://swe.quest/articles/pg-redact-content-aware-pii-redaction-with-jev-enforced-in-postgres-4dd923bfce10e406.md): Neon · 2026-10-01 · Medium · 9 min read · PostgreSQL, Privacy, LLMs
  Column-level masking in Postgres can't redact PII buried in free text, and regex alone can't tell an SSN from an invoice number. pg\_redact generates candidate spans with regex and capitalization rules, asks TypeSafe's Jev model to label each one (name, email, phone, address, id\_number, none) with calibrated probabilities, and stores spans above 0.5 confidence as JSONB next to the message.

## 2025-12-23

- [How to Keep Staging in Sync with Production in Postgres](https://swe.quest/articles/how-to-keep-staging-in-sync-with-production-in-postgres-2a3ed8d4d274df22.md): Neon · 2025-12-23 · Medium · 5 min read · PostgreSQL, Replication, Privacy, Testing
  Postgres staging environments drift from production, and the traditional fixes each fall short. pg\_dump/pg\_restore gives a clean copy but takes staging offline and runs for hours on large databases.

## 2025-12-12

- [Why Your Staging Database Never Matches Production](https://swe.quest/articles/why-your-staging-database-never-matches-production-0082e7428bf22c68.md): Neon · 2025-12-12 · Medium · 8 min read · PostgreSQL, Testing, Schema migrations, Privacy
  Staging databases drift from production continuously in three ways: data drift (stale dumps, sequence values that diverge so the same ID points to different records), schema drift (hotfixes, skipped migrations, mismatched indexes and extensions causing query plan divergence), and transformation drift (anonymization that breaks uniqueness, referential integrity and determinism).

## 2025-11-17

- [How to Handle PII in Staging Databases Without Losing Realistic Data](https://swe.quest/articles/how-to-handle-pii-in-staging-databases-without-losing-realistic-data-41c0818c53e7c05e.md): Neon · 2025-11-17 · Medium · 11 min read · Privacy, PostgreSQL, Testing, Databases
  Four common ways to get realistic but PII-safe staging data are compared, with code for each: manual CSV export plus Python anonymization scripts, Faker-based masking libraries with deterministic seeding to preserve referential integrity, fully synthetic data generators, and replication into staging with SQL masking views or the PostgreSQL Anonymizer extension (declarative security labels, dynamic masking, anonymized dumps, k-anonymity checks).

## 2025-11-11

- [Branching With or Without PII: The Future of Environments](https://swe.quest/articles/branching-with-or-without-pii-the-future-of-environments-9928f840495df503.md): Neon · 2025-11-11 · Easy · 12 min read · PostgreSQL, Privacy, Databases, CI/CD
  Neon branches can now be created with anonymized data: schema and data are copied from a parent such as production, then masked with the PostgreSQL Anonymizer extension using per-column rules (dummy emails, names, phone numbers, random values) while foreign keys and constraints stay intact.

## 2025-06-13

- [Handling Protected Health Information Under HIPAA: Best Practices for Developers](https://swe.quest/articles/handling-protected-health-information-under-hipaa-best-practices-for-developers-d635ed48cb899fa8.md): Neon · 2025-06-13 · Medium · 11 min read · Privacy, Security, PostgreSQL
  Any health data linkable to a person is Protected Health Information under HIPAA, including incidental data such as IP addresses logged during telehealth visits, ZIP codes in dashboards, or names in query logs and staging tables.

## 2025-05-28

- [The Difference Between Postgres Logging and PGAudit](https://swe.quest/articles/the-difference-between-postgres-logging-and-pgaudit-3a35dae235b4a4b7.md): Neon · 2025-05-28 · Medium · 8 min read · PostgreSQL, Privacy, Security, Observability
  Postgres's built-in logging is designed for operational monitoring and troubleshooting, while PGAudit produces structured audit logs for compliance regimes like HIPAA, SOX and PCI DSS.

## 2025-05-15

- [Create Environments with Masked Production Data Using Neon Branches](https://swe.quest/articles/create-environments-with-masked-production-data-using-neon-branches-29a6a3b3a1320ce4.md): Neon · 2025-05-15 · Medium · 7 min read · PostgreSQL, Privacy, Testing, CI/CD
  Neon combines copy-on-write database branches with the PostgreSQL Anonymizer (anon) extension to create production-like non-prod environments without exposing PII.

Same list as RSS: [https://swe.quest/feed.xml?source=neon&tag=privacy](https://swe.quest/feed.xml?source=neon&tag=privacy). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
