Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6605983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:20:52+00:00 2026-05-25T19:20:52+00:00

Postgresql version 9.0 I need an idea for grouping postgresql users. i have 150+

  • 0

Postgresql version 9.0

I need an idea for grouping postgresql users.

i have 150+ table in database, and i want to settle groups of people. some of them can reach all tables, some of them not.
I know it is possible to make it using grant or creating roles. but i want to figure out which is the best way to do that. how will it effect the performance?

giving all users to access some of the tables and managing them seems hard to me. so i thought what about creating different tablespaces and set permissions by tablespace.

is there any good tutorial , article or approach for creating user groups? what is your advice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:20:53+00:00Added an answer on May 25, 2026 at 7:20 pm

    If you set permissions by tablespace, and requirements change such that the people in accounting need access to another table, then you have to move the table from one tablespace to another. But then again you can’t move that table into a different tablespace without screwing up the permissions for all the other users.

    Don’t do that.

    Instead, create logical groups for your users, assign users to groups, and assign permissions to groups. The PostgreSQL term is “roles”.

    It is frequently convenient to group users together to ease management
    of privileges: that way, privileges can be granted to, or revoked
    from, a group as a whole. In PostgreSQL this is done by creating a
    role that represents the group, and then granting membership in the
    group role to individual user roles.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In PostgreSQL 8.3 database I have bookings table referencing booking_transactions table by ID. So
I have a Postgresql database on which I want to do a few cascading
I have a table in PostgreSQL that I need read into memory. It is
I have a postgresql (v8.4) table with login id and timestamps, and I want
A) What is the best solution for regularly backing up large PostgreSQL database (version
I'm new to postgreSQL and I have a simple question: I'm trying to create
I have just installed PostgreSQL 8.3.4 on Mac OS X 10.5 (using ports), but
I've got two PostgreSQL databases that have been created using the same sql file.
I have a need to change the length of CHAR columns in tables in
I need some light to get a solution. Probably there are tons of things

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.