Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Request: Postgresql Anonymizer #3796

Open
mingfang opened this issue Mar 12, 2023 · 15 comments
Open

Extension Request: Postgresql Anonymizer #3796

mingfang opened this issue Mar 12, 2023 · 15 comments
Assignees
Labels
c/compute Component: compute, excluding postgres itself f/extensions Feature: extentions

Comments

@mingfang
Copy link

https://www.postgresql.org/about/news/postgresql-anonymizer-10-privacy-by-design-for-postgres-2452/

@vadim2404 vadim2404 added the c/compute Component: compute, excluding postgres itself label Mar 12, 2023
@vadim2404
Copy link
Contributor

@lubennikovaav to enable it this week

@vadim2404
Copy link
Contributor

Duplicate: #4970

@vadim2404
Copy link
Contributor

PR in pg_anonymizer neondatabase/postgresql_anonymizer#3

To test in on preview today/tomorrow

@vadim2404
Copy link
Contributor

Status update: will be picked up after pgbouncer fixes

@vadim2404
Copy link
Contributor

in testing

@vadim2404
Copy link
Contributor

in review

@lubennikovaav
Copy link
Contributor

This extension is now available on staging and prod behind feature flag Anon Extension (can be enabled per-user in Admin console).
Also for most use-cases, this extension should be added to shared_preload_libraries in compute spec:
pg_settings{"shared_preload_libraries": "neon,anon"}.

@raoufchebri is testing it now,
as soon as it will pass internal check, I will start gradually enabling it for clients.

@vadim2404
Copy link
Contributor

@seymourisdead, I guess it can be a good candidate for feature preview that users can enable on their behalf

@vadim2404
Copy link
Contributor

It's on production under feature flag

@andreasscherbaum
Copy link
Contributor

Figure out workflow for users. No issues found during testing.
Discuss with Ann

@raoufchebri Do you have an update on the rollout?

@andreasscherbaum
Copy link
Contributor

According to Raouf the extension is tested, and works well. There are some inherent challenges, these are listed and explained in an upcoming blog posting.

@andreasscherbaum
Copy link
Contributor

Rollout plan:

  • Unblock newer Compute images (unrelated to this ticket)
  • Include this extension in new copute image
  • Release it
  • Another test, ideally by a customer
  • Announce it
  • Publish blog posting (already written)

@andreasscherbaum
Copy link
Contributor

There is a feature flag, which is not enabled for all users. Enable it for everyone. Then remove the feature flag.

@kelvich
Copy link
Contributor

kelvich commented Apr 3, 2024

image

@andreasscherbaum
Copy link
Contributor

See if the error message can be improved, and point the user to what needs to be done (loading the library).
The library is not there because the feature flag is not enabled, but the error message can happen anywhere, not just in Neon.

@ololobus ololobus added the f/extensions Feature: extentions label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/compute Component: compute, excluding postgres itself f/extensions Feature: extentions
Projects
None yet
Development

No branches or pull requests

6 participants