{"id":53621,"date":"2023-01-10T08:47:12","date_gmt":"2023-01-10T08:47:12","guid":{"rendered":"https:\/\/dbtut.com\/?p=53621"},"modified":"2023-01-10T08:48:52","modified_gmt":"2023-01-10T08:48:52","slug":"create-postgresql-database","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/","title":{"rendered":"Create PostgreSQL Database"},"content":{"rendered":"<p>There are multiple methods and parameters when creating a database. I will talk about them in this article.<\/p>\n<h4>There are 4 methods to create the database:<\/h4>\n<p>1. Creating a database via pg_admin<\/p>\n<p>2. Creating a database with pl\\pgsql via pg_admin<\/p>\n<p>3. Creating a database with the help of psql client<\/p>\n<p>4. As I mentioned in the Command Line Database Operations tutorial, we can create a database with the createdb command.<\/p>\n<p>Let&#8217;s start by creating a database through the database Pg_admin, which is the first method.<\/p>\n<p>I explained the connection via pgadmin and the necessary settings to connect in my other article, so I start with creating a database directly without going through it again.<\/p>\n<p>Right click on the databases tab under the server we created and select the database tab in the create tab.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/pgadminconnect.png\" \/><\/p>\n<p>Let&#8217;s examine the general tab in the opened window.<\/p>\n<p>In this window, we specify the database name in the tab that says database.<\/p>\n<p>In the Owner section, we select the database owner, that is, the user who is authorized to do everything in the database.<\/p>\n<p>When we do nothing, the postgres user comes up.<\/p>\n<p>In the comment section, we enter the description. (This is optional, you can not enter a description if you want.)<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/pgadminconnect2.png\" \/><\/p>\n<p>When we come to the definition part, the encoding part catches our eye first.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/definitionpgadmin.png\" \/><\/p>\n<h4>What is encoding?<\/h4>\n<p>They are character sets, that is, they are character sets that are used to translate every letter and character we press from the keyboard into computer language.<\/p>\n<p>We make choices because of the characters they contain, so why utf-8 ?<\/p>\n<p>UTF-8 is an encoding method. UTF stands for Unicode Transformation Format.<\/p>\n<p>When data is to be written to a file or passed over the network, it must be converted to bytes. This conversion process is called encoding.<\/p>\n<p>The most commonly used method for encoding Unicode characters is UTF-8.<\/p>\n<p>It tries to encode the UTF-8 Unicode character set in the most efficient way, that is, taking up the fewest bytes.<\/p>\n<p>That&#8217;s why UTF8 is usually chosen.<\/p>\n<p>In the template section, we specify which database to take as an example. I have mentioned in previous threads.<\/p>\n<p><strong>Tablespace:<\/strong> It is the part where the data written to the database is kept. The pg_default tablespace is automatically created when the cluster is installed.<\/p>\n<p><strong>Collation:<\/strong> Collation is the part where we make the settings about how and according to which language the rows in the table are sorted.<\/p>\n<p><strong>Character Type:<\/strong> Selected as C. In the queries selected in this option, it has an important place in the features such as like order by, that is, the query order on text data.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/securitypgadmin.png\" \/><\/p>\n<p><strong>Security:<\/strong> On the Security tab, there are security options. The Security tab is used to assign privileges and define security tags.<\/p>\n<p><strong>Parameters:<\/strong> In this section, if we want to define a parameter while creating the database, we can use it here.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/pgadminparameters.png\" \/><\/p>\n<p><strong>SQL:<\/strong> The SQL part gives the SQL equivalent of the operations performed.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/sqlpgadmin.png\" \/><\/p>\n<p>We select the relevant parameters.<\/p>\n<p>Let&#8217;s move on to step 2 to create the database.<\/p>\n<h4>Creating a database with SQL commands via pg_admin<\/h4>\n<p>Click on the Query Tool tab above the postgres database via pgAdmin.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/querytool.png\" \/><\/p>\n<p>After doing this, the query tab opens and we write the SQL commands in this section.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/querywrite.png\" \/><\/p>\n<p>Here we create a database using the above parameters.<\/p>\n<p>Example database SQL is as follows.<\/p>\n<pre class=\"lang:default decode:true \">CREATE DATABASE f1\r\n\r\nWITH\r\n\r\nOWNER = postgres                  \u2014Database owner\r\n\r\nENCODING = \u2018UTF8\u2019\r\n\r\nLC_COLLATE = \u2018C\u2019\r\n\r\nLC_CTYPE = \u2018C\u2019\r\n\r\nTABLESPACE = pg_default\r\n\r\nCONNECTION LIMIT = -1;                 \u2014Database connection limit.<\/pre>\n<h4>Creating a database with the help of psql client<\/h4>\n<p>We connect with psql by opening our virtual machine or you can connect using one of the ssh programs.<\/p>\n<p>We switch to the postgres user with the su postgres command.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/client1.png\" \/><\/p>\n<p id=\"PZpDPzC\">We connect to postgres by typing psql.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/client2.png\" \/><\/p>\n<p id=\"ZSYkvKY\">Here we create the database by typing the SQL.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/client3.png\" \/><\/p>\n<p>And our database was created.<\/p>\n<h4>Creating a database with the createdb command<\/h4>\n<p>We go to the \/usr\/pgsql-10\/bin\/ directory and with the help of the programs here, we create a database without using the psql client.<\/p>\n<p>First, we switch to the postgres user using the su postgres command.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/client4.png\" \/><\/p>\n<p id=\"lgYFTpm\">We go to the directory using the command cd \/usr\/pgsql-10\/bin\/ . After seeing it with the ls command, we create a database with the help of the following command.<\/p>\n<pre class=\"lang:default decode:true \"> .\/createdb denemedb1\r\n<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.farukerdem.com\/wp-content\/uploads\/2020\/12\/client5.png\" \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_53621\" class=\"pvc_stats all  \" data-element-id=\"53621\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>There are multiple methods and parameters when creating a database. I will talk about them in this article. There are 4 methods to create the database: 1. Creating a database via pg_admin 2. Creating a database with pl\\pgsql via pg_admin 3. Creating a database with the help of psql client 4. As I mentioned in &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_53621\" class=\"pvc_stats all  \" data-element-id=\"53621\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":366,"featured_media":53636,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-53621","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-postgres"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create PostgreSQL Database - Database Tutorials<\/title>\n<meta name=\"description\" content=\"There are multiple methods and parameters when creating a database. I will talk about them in this article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create PostgreSQL Database - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"There are multiple methods and parameters when creating a database. I will talk about them in this article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-10T08:47:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-10T08:48:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png\" \/>\n\t<meta property=\"og:image:width\" content=\"682\" \/>\n\t<meta property=\"og:image:height\" content=\"362\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Faruk Erdem\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Faruk Erdem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\"},\"author\":{\"name\":\"Faruk Erdem\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\"},\"headline\":\"Create PostgreSQL Database\",\"datePublished\":\"2023-01-10T08:47:12+00:00\",\"dateModified\":\"2023-01-10T08:48:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\"},\"wordCount\":696,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png\",\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\",\"name\":\"Create PostgreSQL Database - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png\",\"datePublished\":\"2023-01-10T08:47:12+00:00\",\"dateModified\":\"2023-01-10T08:48:52+00:00\",\"description\":\"There are multiple methods and parameters when creating a database. I will talk about them in this article.\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png\",\"width\":682,\"height\":362},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create PostgreSQL Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb\",\"name\":\"Faruk Erdem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g\",\"caption\":\"Faruk Erdem\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create PostgreSQL Database - Database Tutorials","description":"There are multiple methods and parameters when creating a database. I will talk about them in this article.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/","og_locale":"en_US","og_type":"article","og_title":"Create PostgreSQL Database - Database Tutorials","og_description":"There are multiple methods and parameters when creating a database. I will talk about them in this article.","og_url":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/","og_site_name":"Database Tutorials","article_published_time":"2023-01-10T08:47:12+00:00","article_modified_time":"2023-01-10T08:48:52+00:00","og_image":[{"width":682,"height":362,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png","type":"image\/png"}],"author":"Faruk Erdem","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Faruk Erdem","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/"},"author":{"name":"Faruk Erdem","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb"},"headline":"Create PostgreSQL Database","datePublished":"2023-01-10T08:47:12+00:00","dateModified":"2023-01-10T08:48:52+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/"},"wordCount":696,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png","articleSection":["PostgreSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/","url":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/","name":"Create PostgreSQL Database - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png","datePublished":"2023-01-10T08:47:12+00:00","dateModified":"2023-01-10T08:48:52+00:00","description":"There are multiple methods and parameters when creating a database. I will talk about them in this article.","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2023\/01\/Ekran-goruntusu-2023-01-10-114158.png","width":682,"height":362},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2023\/01\/10\/create-postgresql-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Create PostgreSQL Database"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/a7dfc5684c116e536b4e93ee214ccbfb","name":"Faruk Erdem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad1e61fb5a7c9a590e765f7cad8f2dc8332090f1ceb9a5ee2aa95c69213f0c50?s=96&d=mm&r=g","caption":"Faruk Erdem"},"url":"https:\/\/dbtut.com\/index.php\/author\/farukerdem\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/53621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/366"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=53621"}],"version-history":[{"count":1,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/53621\/revisions"}],"predecessor-version":[{"id":53637,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/53621\/revisions\/53637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/53636"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=53621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=53621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=53621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}