home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre2.z / postgre2 / ref / unix / initdb < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.0 KB  |  44 lines

  1. .\" XXX standard disclaimer belongs here....
  2. .\" $Header: /private/postgres/ref/unix/RCS/initdb,v 1.7 1992/07/13 03:45:59 ptong Exp $
  3. .SP INITDB UNIX 6/14/90
  4. .XA 1 Initdb
  5. .uh NAME
  6. .lp
  7. initdb \*- initalize the database templates and primary directories
  8. .uh SYNOPSIS
  9. .lp
  10. .(l
  11. \fBinitdb\fP [-v]
  12. .)l
  13. .uh DESCRIPTION
  14. .lp
  15. .b initdb
  16. sets up the initial template databases.  It is normally executed as part
  17. of the installation process.
  18. The template database is created under the directory specified by
  19. the the environment variable, POSTGRESHOME.  For example,
  20. .(l
  21. .ft C
  22. setenv POSTGRESHOME /usr/postgres
  23. .ft P
  24. .)l
  25. \*(PP also supports
  26. data striping by allowing a database spread across multiple directories.
  27. The user can specify multiple directories in POSTGRESHOME separated by
  28. ':'.  For example,
  29. .(l
  30. .ft C
  31. setenv POSTGRESHOME /usr1/postgres:/usr2/postgres
  32. .ft P
  33. .)l
  34. The
  35. .i -v
  36. option
  37. specifies that
  38. .b initdb
  39. should be run in "verbose mode", meaning that it will print messages
  40. stating where the directories are being created, etc.
  41. .uh "SEE ALSO"
  42. .lp
  43. createdb(unix).
  44.