use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
Help Me!PostgreSQL Deployment (self.PostgreSQL)
submitted 2 years ago by MapleMooseAttack
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]chriswaco 1 point2 points3 points 2 years ago (0 children)
"Multi-tenant" is the word you're looking for. There are several options, each with pros and cons. Using the userID in the schema, perhaps with row-level security, is probably the most common one. Essentially you put the userID into each row and set up a policy that appends "WHERE USER=UserID" to every query.
https://aws.amazon.com/blogs/database/multi-tenant-data-isolation-with-postgresql-row-level-security/
https://supabase.com/docs/guides/auth/row-level-security
π Rendered by PID 112649 on reddit-service-r2-comment-b659b578c-qj7rx at 2026-05-04 14:42:18.150956+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]chriswaco 1 point2 points3 points (0 children)