Creating a PostgreSQL Database 3152015.docVIP

  • 6
  • 0
  • 约6.37千字
  • 约 5页
  • 2017-08-15 发布于河南
  • 举报
Creating a PostgreSQL Database 3/15/2011 Two methods for creating a database: (1) At the command line createdb -U postgres -D pgdata_local db_name - user must have previously been granted permission to create databases - createdb is a “wrapper” for “psql -d “ The “-D” option creates the database in the PGDATA_LOCAL partition. Note the absence of a $ in front of the PGDATA_LOCAL partition name. The PGDATA_LOCAL partition is sized at 32 GBytes. If a database is created without the “-D” option, it will be created in the PGDATA partition which is only .5 GBytes in size. If this

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档