Thread: Postgresql functions

Postgresql functions

From
"Ivan Dario Salazar"
Date:
Hi there...

I write it becouse i need to know where can i get a "SPECIFIC DOCUMENT" with
the "Postgresql Administration Functions" like

- Create User
- Create Group
.......
.......
......
.....

etc.

I just need a Document which explains very shortly every function(as
administrator).


Thanks for your Help.

PD. I really need it.

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.latam.msn.com/


Re: Postgresql functions

From
Grega Bremec
Date:
...and on Wed, Mar 03, 2004 at 12:04:25AM +0000, Ivan Dario Salazar used the keyboard:
> Hi there...
>
> I write it becouse i need to know where can i get a "SPECIFIC DOCUMENT"
> with the "Postgresql Administration Functions" like
>
> - Create User
> - Create Group

Hello Ivan,

There are a couple of options for you.

First off, there is this thing called "PostgreSQL Documentation", it is a
part of the source distribution, but it can also be downloaded separately,
the file is called postgresql-docs-<version>.tar.bz2 in the PostgreSQL
download archives, and it documents all SQL commands available to the user
in much detail in subsection 7.1, "VI. Reference / I. SQL Commands".

If you're interested in a text focusing more on user and privilege
administration, you can also take a look at chapter 17., "Database users
and Privileges" of that same documentation bundle.

One very convenient option would be using the \h internal slash command of
your psql command-line client. Try "\h" on the line alone to get a full
list of SQL commands you have help available on, then, use, for example,

    template1=# \h CREATE USER
    Command:     CREATE USER
    Description: define a new database user account
    Syntax:
    CREATE USER name [ [ WITH ] option [ ... ] ]

    where option can be:

      SYSID uid
    | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
    | CREATEDB | NOCREATEDB
    | CREATEUSER | NOCREATEUSER
    | IN GROUP groupname [, ...]
    | VALID UNTIL 'abstime'

Hope this helped.
--
    Grega Bremec
    Senior Administrator
    Noviforum Ltd., Software & Media
    http://www.noviforum.si/

Attachment