{"id":649,"date":"2016-09-28T15:18:39","date_gmt":"2016-09-28T15:18:39","guid":{"rendered":"https:\/\/netadmintools.com\/?p=649"},"modified":"2018-05-11T18:12:44","modified_gmt":"2018-05-11T18:12:44","slug":"using-pgadmin-to-administer-postgresql","status":"publish","type":"post","link":"https:\/\/www.netadmintools.com\/using-pgadmin-to-administer-postgresql\/","title":{"rendered":"Using pgAdmin to Administer PostgreSQL"},"content":{"rendered":"<p>In <a href=\"https:\/\/netadmintools.com\/art363.html\">this article<\/a>, we compiled and installed <a href=\"http:\/\/www.postgresql.org\/\">PostgreSQL<\/a>. <a href=\"http:\/\/www.pgadmin.org\/\">PgAdmin<\/a> is a development and administration tool for PostgreSQL that runs under GNU\/Linux, FreeBSD, and Windows 2000\/XP. We decided to try one of the Slackware beta snapshots available here. Agatha is running <a href=\"http:\/\/gentoo.org\/\">Gentoo<\/a> on her main workstation, and our best guess was that the Slackware binary would work well. This binary can be extracted from \/. First, though, we want to look at the package and make sure we don&#8217;t step on anything:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre>root@srv-1 local # <b>tar -tzf pga*.gz<\/b>\r\n.\/\r\nusr\/\r\nusr\/bin\/\r\nusr\/bin\/pgadmin3\r\nusr\/share\/\r\nusr\/share\/pgadmin3\/\r\nusr\/share\/pgadmin3\/ui\/\r\nusr\/share\/pgadmin3\/ui\/common\/\r\nusr\/share\/pgadmin3\/ui\/common\/dlgAggregate.xrc\r\nusr\/share\/pgadmin3\/ui\/common\/dlgCast.xrc\r\n.\r\n.\r\n.\r\nusr\/share\/pgadmin3\/docs\/en_US\/tips.txt\r\nusr\/share\/pgadmin3\/pgadmin3.xpm\r\nopt\/\r\nopt\/kde\/\r\nopt\/kde\/share\/\r\nopt\/kde\/share\/applnk\/\r\nopt\/kde\/share\/applnk\/Development\/\r\nopt\/kde\/share\/applnk\/Development\/pgadmin3.desktop\r\ninstall\/\r\ninstall\/slack-desc\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>OK. Not a big deal. We are using <a href=\"http:\/\/icewm.org\/\">IceWM<\/a>, so we don&#8217;t care about the <a href=\"http:\/\/kde.org\/\">KDE<\/a> stuff, but it doesn&#8217;t hurt. Let&#8217;s extract the tarball:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre>root@srv-1 local # <b>mv pga*.gz \/<\/b>\r\nroot@srv-1 local # <b>cd \/<\/b>\r\nroot@srv-1 \/ # <b>tar -xzf pga*.gz<\/b>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>From the above, the executable is in \/usr\/bin, so we can just run it:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre>usr-1@srv-1 usr-1 <b>$ pgadmin3<\/b>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Here is the initial screen:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-650\" src=\"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/initial.gif\" alt=\"initial\" width=\"667\" height=\"558\" \/><\/p>\n<p>We need to create a connection to our database server:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-651\" src=\"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/newserver.gif\" alt=\"newserver\" width=\"385\" height=\"337\" \/><\/p>\n<p>Here is what the administration screen looks like:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-652\" src=\"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/adminscreen.gif\" alt=\"adminscreen\" width=\"667\" height=\"558\" \/><\/p>\n<p>Pretty cool!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we compiled and installed PostgreSQL. PgAdmin is a development and administration tool for PostgreSQL that runs under GNU\/Linux, FreeBSD, and Windows 2000\/XP. We decided to try one of the Slackware beta snapshots available here. Agatha is running Gentoo on her main workstation, and our best guess was that the Slackware binary would [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[],"class_list":{"0":"post-649","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-database","7":"entry","8":"has-post-thumbnail"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using pgAdmin to Administer PostgreSQL - Network Admin Tools<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.netadmintools.com\/art364.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using pgAdmin to Administer PostgreSQL - Network Admin Tools\" \/>\n<meta property=\"og:description\" content=\"In this article, we compiled and installed PostgreSQL. PgAdmin is a development and administration tool for PostgreSQL that runs under GNU\/Linux, FreeBSD, and Windows 2000\/XP. We decided to try one of the Slackware beta snapshots available here. Agatha is running Gentoo on her main workstation, and our best guess was that the Slackware binary would [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.netadmintools.com\/art364.html\" \/>\n<meta property=\"og:site_name\" content=\"Network Admin Tools\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-28T15:18:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-11T18:12:44+00:00\" \/>\n<meta name=\"author\" content=\"Paul Anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Paul_AndersonNA\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html\"},\"author\":{\"name\":\"Paul Anderson\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#\\\/schema\\\/person\\\/eee9a07392c4bee0964628c706e86a7f\"},\"headline\":\"Using pgAdmin to Administer PostgreSQL\",\"datePublished\":\"2016-09-28T15:18:39+00:00\",\"dateModified\":\"2018-05-11T00:00:00+0000\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html\"},\"wordCount\":155,\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html\",\"url\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html\",\"name\":\"Using pgAdmin to Administer PostgreSQL - Network Admin Tools\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#website\"},\"datePublished\":\"2016-09-28T15:18:39+00:00\",\"dateModified\":\"2018-05-11T18:12:44+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#\\\/schema\\\/person\\\/eee9a07392c4bee0964628c706e86a7f\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.netadmintools.com\\\/art364.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art364.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.netadmintools.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using pgAdmin to Administer PostgreSQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#website\",\"url\":\"https:\\\/\\\/www.netadmintools.com\\\/\",\"name\":\"Network Admin Tools\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.netadmintools.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#\\\/schema\\\/person\\\/eee9a07392c4bee0964628c706e86a7f\",\"name\":\"Paul Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cdn.netadmintools.com\\\/wp-content\\\/uploads\\\/paul-anderson-150x150.jpg\",\"url\":\"https:\\\/\\\/cdn.netadmintools.com\\\/wp-content\\\/uploads\\\/paul-anderson-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.netadmintools.com\\\/wp-content\\\/uploads\\\/paul-anderson-150x150.jpg\",\"caption\":\"Paul Anderson\"},\"description\":\"Paul is an Avid Tech Geek who Loves writing, Cycling and All Things Linux! He comes from a Background of Windows Administration along with Ubuntu\\\/Centos Server administration. Paul holds industry wide certifications include CompTIA & Microsoft Accredited certifications.\",\"sameAs\":[\"https:\\\/\\\/www.netadmintools.com\\\/author\\\/editor\\\/\",\"https:\\\/\\\/x.com\\\/Paul_AndersonNA\"],\"url\":\"https:\\\/\\\/www.netadmintools.com\\\/author\\\/editor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using pgAdmin to Administer PostgreSQL - Network Admin Tools","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:\/\/www.netadmintools.com\/art364.html","og_locale":"en_US","og_type":"article","og_title":"Using pgAdmin to Administer PostgreSQL - Network Admin Tools","og_description":"In this article, we compiled and installed PostgreSQL. PgAdmin is a development and administration tool for PostgreSQL that runs under GNU\/Linux, FreeBSD, and Windows 2000\/XP. We decided to try one of the Slackware beta snapshots available here. Agatha is running Gentoo on her main workstation, and our best guess was that the Slackware binary would [&hellip;]","og_url":"https:\/\/www.netadmintools.com\/art364.html","og_site_name":"Network Admin Tools","article_published_time":"2016-09-28T15:18:39+00:00","article_modified_time":"2018-05-11T18:12:44+00:00","author":"Paul Anderson","twitter_card":"summary_large_image","twitter_creator":"@Paul_AndersonNA","twitter_misc":{"Written by":"Paul Anderson","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.netadmintools.com\/art364.html#article","isPartOf":{"@id":"https:\/\/www.netadmintools.com\/art364.html"},"author":{"name":"Paul Anderson","@id":"https:\/\/www.netadmintools.com\/#\/schema\/person\/eee9a07392c4bee0964628c706e86a7f"},"headline":"Using pgAdmin to Administer PostgreSQL","datePublished":"2016-09-28T15:18:39+00:00","dateModified":"2018-05-11T00:00:00+0000","mainEntityOfPage":{"@id":"https:\/\/www.netadmintools.com\/art364.html"},"wordCount":155,"articleSection":["Database"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.netadmintools.com\/art364.html","url":"https:\/\/www.netadmintools.com\/art364.html","name":"Using pgAdmin to Administer PostgreSQL - Network Admin Tools","isPartOf":{"@id":"https:\/\/www.netadmintools.com\/#website"},"datePublished":"2016-09-28T15:18:39+00:00","dateModified":"2018-05-11T18:12:44+00:00","author":{"@id":"https:\/\/www.netadmintools.com\/#\/schema\/person\/eee9a07392c4bee0964628c706e86a7f"},"breadcrumb":{"@id":"https:\/\/www.netadmintools.com\/art364.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.netadmintools.com\/art364.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.netadmintools.com\/art364.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.netadmintools.com\/"},{"@type":"ListItem","position":2,"name":"Using pgAdmin to Administer PostgreSQL"}]},{"@type":"WebSite","@id":"https:\/\/www.netadmintools.com\/#website","url":"https:\/\/www.netadmintools.com\/","name":"Network Admin Tools","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.netadmintools.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.netadmintools.com\/#\/schema\/person\/eee9a07392c4bee0964628c706e86a7f","name":"Paul Anderson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/paul-anderson-150x150.jpg","url":"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/paul-anderson-150x150.jpg","contentUrl":"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/paul-anderson-150x150.jpg","caption":"Paul Anderson"},"description":"Paul is an Avid Tech Geek who Loves writing, Cycling and All Things Linux! He comes from a Background of Windows Administration along with Ubuntu\/Centos Server administration. Paul holds industry wide certifications include CompTIA & Microsoft Accredited certifications.","sameAs":["https:\/\/www.netadmintools.com\/author\/editor\/","https:\/\/x.com\/Paul_AndersonNA"],"url":"https:\/\/www.netadmintools.com\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts\/649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/comments?post=649"}],"version-history":[{"count":3,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts\/649\/revisions"}],"predecessor-version":[{"id":2915,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts\/649\/revisions\/2915"}],"wp:attachment":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/media?parent=649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/categories?post=649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/tags?post=649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}