Tài liệu PostgreSQL: Up and Running pptx

164 1.9K 0
Tài liệu PostgreSQL: Up and Running pptx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... causes much confusion and frustration when Setting Up Groups and Login Roles (Users) | 15 setting up groups, as people often forget to make sure that the group role is marked to allow its permissions as inheritable Non-Inheritable rights Some permissions can’t be inherited For example, while you can create a group role that you mark as super user, this doesn’t make its member roles super users; however,... find PostgreSQL connectivity support via DBI and the DBD:Pg driver or pure Perl DBD:PgPP driver from CPAN Server and Database Objects So you installed PostgreSQL and open up pgAdmin You expand the server tree Before you is a bewildering array of database objects, some familiar and some completely foreign PostgreSQL has more database objects than probably any other database, and that’s without considering... Pre-8.0 users and groups were distinct entities, but the model got changed to be role-centric to better conform to the ANSI-SQL specs For backward compatibility, there is still a CREATE USER and CREATE GROUP For the rest of this discussion, we’ll be using the more generic CREATE ROLE , which is used to create both users and groups If you look at fairly ANSI-SQL standard databases such as Oracle and later... author, publisher, and ISBN For example: PostgreSQL: Up and Running by Regina Obe and Leo Hsu (O’Reilly) Copyright 2012 Regina Obe and Leo Hsu, 978-1-449-32633-3.” If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at permissions@oreilly.com Safari® Books Online Safari Books Online (www.safaribooksonline.com) is an on-demand digital library... “Editing postgresql.conf and pg_hba.conf from pgAdmin” on page 47 Setting Up Groups and Login Roles (Users) In PostgreSQL, there is really only one kind of an account and that is a role Some roles can log in; when they have login rights, they are called users Roles can be members of other roles, and when we have this kind of relationship, the containing roles are called groups It wasn’t always this... tools for managing PostgreSQL and these are supported by PostgreSQL core developers; they tend to stay in synch with PostgreSQL versions In addition, there are plenty of commercial offerings as well psql psql is a command-line interface for writing queries and managing PostgreSQL It comes packaged with some nice extras, such as an import and export commands for delimited files, and a reporting feature that... will expire Creating Group Roles Group roles are generally roles that have no login rights but have other roles as members This is merely a convention There is nothing stopping you from creating a role that can both login and can contain other roles We can create a group role with this SQL DCL statement: CREATE ROLE jungle INHERIT; And add a user or other group role to the group with this statement:... aforementioned PL languages and popular types with their companion functions and operators, like hstore, ltree, postgis, and countless others For example, to install the popular PostgreSQL key-value store type and its companion functions and operators, you would type: x | Preface CREATE EXTENSION hstore; In addition, there is an SQL command you can run—sect_extensions—to see the list of available and installed extensions... unique and advanced features that are also present in prior versions of PostgreSQL ix What Makes PostgreSQL Special and Why Use It? PostgreSQL is special because it’s not just a database: it’s also an application platform and an impressive one at that PostgreSQL allows you to write stored procedures and functions in several programming languages, and the architecture allows you the flexibility to support... New in Latest Versions of PostgreSQL? | 3 Why Upgrade? If you’re using PostgreSQL 8.2 or below: upgrade now! Enough said If you’re using PostgreSQL 8.3: upgrade soon! 8.3 will be reaching end-of-life in early 2013 Details about PostgreSQL EOL policy can be found here: PostgreSQL Release Support Policy EOL is not a place you want to be New security updates and fixes to serious bugs will no longer be available . details. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. PostgreSQL: Up and Running, the. title, author, publisher, and ISBN. For example: PostgreSQL: Up and Running by Regina Obe and Leo Hsu (O’Reilly). Copyright 2012 Regina Obe and Leo Hsu, 978-1-449-32633-3.” If

Ngày đăng: 13/02/2014, 00:20

Từ khóa liên quan

Mục lục

  • Table of Contents

  • Preface

    • What Makes PostgreSQL Special and Why Use It?

    • Why Not PostgreSQL?

    • For More Information on PostgreSQL

    • Conventions Used in This Book

    • Using Code Examples

    • Safari® Books Online

    • How to Contact Us

    • Chapter 1. The Basics

      • Where to Get PostgreSQL

        • Notable PostgreSQL Forks

        • Administration Tools

        • What’s New in Latest Versions of PostgreSQL?

          • Why Upgrade?

          • What to Look for in PostgreSQL 9.2

          • PostgreSQL 9.1 Improvements

          • Database Drivers

          • Server and Database Objects

          • Where to Get Help

          • Chapter 2. Database Administration

            • Configuration Files

              • The postgresql.conf File

              • The pg_hba.conf File

                • Authentication Methods

                • Reload the Configuration Files

                • Setting Up Groups and Login Roles (Users)

                  • Creating an Account That Can Log In

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan