Your PostgreSQL instance can be installed locally, remotely, or provisioned by a provider. To follow along with this guide, you will need to log in to a PostgreSQL instance with a user with administrative privileges using the psql command line client. If you'd like additional information, find out more by checking out the official PostgreSQL documentation. Some of the statements covered in this guide, particularly the PostgreSQL CREATE TABLE statement, have many additional options that were outside of the scope of this article. These alternatives use tools included in the standard PostgreSQL installation that are available if you have administrative access to the PostgreSQL host. The examples will primarily use SQL, but towards the end, we'll show you how to do a few of these tasks using the command line. Instead, we'll be focusing on how to create and destroy PostgreSQL databases and tables. This guide won't deal directly with PostgreSQL's concept of a schema, but it's good to know it's there. schema: a namespace within a database that contains tables, indexes, views, and other items.In PostgreSQL, there is also an intermediary object between databases and tables called schema:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |