<br />
<b>Notice</b>:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>breadcrumb-navxt</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in <b>/home/devtools/public_html/blog/wp-includes/functions.php</b> on line <b>6131</b><br />
{"id":532,"date":"2011-06-21T17:31:00","date_gmt":"2011-06-21T20:31:00","guid":{"rendered":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/"},"modified":"2020-11-03T19:02:19","modified_gmt":"2020-11-03T22:02:19","slug":"alterando-a-senha-do-usuario-postgres","status":"publish","type":"post","link":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/","title":{"rendered":"Alterando a senha do usu\u00e1rio Postgres"},"content":{"rendered":"\n<p>Ol\u00e1, h\u00e1 dias necessitei alterar com urg\u00eancia a senha do usu\u00e1rio postgres, como n\u00e3o tinha a m\u00ednima ideia de como fazer, acessei o bom e velho Google.<\/p>\n\n\n\n<p>Em minha pesquisa simpl\u00f3ria de &#8220;<strong><em>como alterar a senha do postgres<\/em><\/strong>&#8221; n\u00e3o localizei nada bem detalhado, ent\u00e3o ap\u00f3s apanhar um pouquinho consegui alterar, vejamos como eu fiz: <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Acesse o SQL Shell (psql).<\/li><li>Informe o host onde se localiza o Banco de Dados<\/li><li>O nome do Banco de Dados desejado.<\/li><li>A porta utilizada (Padr\u00e3o <strong><em>5432<\/em><\/strong>)<\/li><li>O usu\u00e1rio de acesso. (Padr\u00e3o <strong><em>postgres<\/em><\/strong>)<\/li><li>A senha atual de acesso.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/2.bp.blogspot.com\/-E5-xbp3CaZI\/TgDT95jt8_I\/AAAAAAAAACs\/xksRXUSEjVc\/s1600\/Alterando_Senha_PostGres.png\"><img decoding=\"async\" src=\"https:\/\/2.bp.blogspot.com\/-E5-xbp3CaZI\/TgDT95jt8_I\/AAAAAAAAACs\/xksRXUSEjVc\/s320\/Alterando_Senha_PostGres.png\" alt=\"Tela do SQL Shell do PostgreSQL onde estou acessando o banco de dados desejado.\" title=\"SQL Shell do PostgreSQL\"\/><\/a><\/figure><\/div>\n\n\n\n<p>Ap\u00f3s executados os passos acima voc\u00ea j\u00e1 estar\u00e1 logado, e agora poder\u00e1 inserir o comando para alterar a senha do usu\u00e1rio postgres.<\/p>\n\n\n\n<p>7\u00ba &#8211; Execute o seguinte comando:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ALTER USER <em>postgres <\/em>WITH PASSWORD '<strong><em>sua_nova_senha<\/em><\/strong>';<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/1.bp.blogspot.com\/-Muo91JxtQWg\/TgDVYdWxqwI\/AAAAAAAAACw\/k_Q5mMRUGL0\/s1600\/Alterando_Senha_PostGres_II.png\"><img decoding=\"async\" src=\"https:\/\/1.bp.blogspot.com\/-Muo91JxtQWg\/TgDVYdWxqwI\/AAAAAAAAACw\/k_Q5mMRUGL0\/s320\/Alterando_Senha_PostGres_II.png\" alt=\"Tela do SQL Shell PostgreSQL onde estou alterando a senha do usu\u00e1rio postgres\" title=\"SQL Shell do PostgreSQL - Alterando a Senha\"\/><\/a><\/figure><\/div>\n\n\n\n<p>8\u00ba &#8211; Para finalizar, \u00e9 necess\u00e1rio que voc\u00ea reinicie o servidor, carregando assim as novas configura\u00e7\u00f5es.<\/p>\n\n\n\n<p>8.1 &#8211; Caso o servidor seja Linux, acesse via SSH e execute o comando: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service postgresql restart<\/pre>\n\n\n\n<p>8.2 &#8211; Caso seja Windows, v\u00e1 at\u00e9 o Painel de Controle, Ferramentas Administrativas, Servi\u00e7os, localize o servi\u00e7o postgresql, bot\u00e3o direito, reiniciar.<\/p>\n\n\n\n<p>Seguidos os passos acima voc\u00ea ter\u00e1 alterado com sucesso a senha do seu usu\u00e1rio, gerando assim maior conformidade e seguran\u00e7a aos seus dados.<\/p>\n\n\n\n<p>Espero ter auxiliado a todos, grande abra\u00e7o.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ol\u00e1, h\u00e1 dias necessitei alterar com urg\u00eancia a senha do usu\u00e1rio postgres, como n\u00e3o tinha a m\u00ednima ideia de como fazer, acessei o bom e velho Google. Em minha pesquisa simpl\u00f3ria de &#8220;como alterar a senha do postgres&#8221; n\u00e3o localizei nada bem detalhado, ent\u00e3o ap\u00f3s apanhar um pouquinho consegui alterar, vejamos como eu fiz: Acesse &#8230; <a title=\"Alterando a senha do usu\u00e1rio Postgres\" class=\"read-more\" href=\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\" aria-label=\"More on Alterando a senha do usu\u00e1rio Postgres\">Ler mais<\/a><\/p>\n","protected":false},"author":1,"featured_media":793,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-532","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-postgresql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Alterando a senha do usu\u00e1rio Postgres - PostgreSQL<\/title>\n<meta name=\"description\" content=\"Veja como alterar a senha do usu\u00e1rio postgres, do banco de dados PostgreSQL via SQL Shell script, seja no Windows ou Linux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Alterando a senha do usu\u00e1rio Postgres - PostgreSQL\" \/>\n<meta property=\"og:description\" content=\"Veja como alterar a senha do usu\u00e1rio postgres, do banco de dados PostgreSQL via SQL Shell script, seja no Windows ou Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\" \/>\n<meta property=\"og:site_name\" content=\"Devtools\" \/>\n<meta property=\"article:published_time\" content=\"2011-06-21T20:31:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-03T22:02:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fabiano Abreu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fabiano Abreu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\"},\"author\":{\"name\":\"Fabiano Abreu\",\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\"},\"headline\":\"Alterando a senha do usu\u00e1rio Postgres\",\"datePublished\":\"2011-06-21T20:31:00+00:00\",\"dateModified\":\"2020-11-03T22:02:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\"},\"wordCount\":223,\"commentCount\":14,\"publisher\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\"},\"image\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png\",\"articleSection\":[\"PostgreSQL\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\",\"url\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\",\"name\":\"Alterando a senha do usu\u00e1rio Postgres - PostgreSQL\",\"isPartOf\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png\",\"datePublished\":\"2011-06-21T20:31:00+00:00\",\"dateModified\":\"2020-11-03T22:02:19+00:00\",\"description\":\"Veja como alterar a senha do usu\u00e1rio postgres, do banco de dados PostgreSQL via SQL Shell script, seja no Windows ou Linux.\",\"breadcrumb\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage\",\"url\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png\",\"contentUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png\",\"width\":200,\"height\":200,\"caption\":\"postgresql\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/devtools.com.br\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Alterando a senha do usu\u00e1rio Postgres\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devtools.com.br\/blog\/#website\",\"url\":\"https:\/\/devtools.com.br\/blog\/\",\"name\":\"Devtools\",\"description\":\"Sua caixa de ferramentas online\",\"publisher\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devtools.com.br\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed\",\"name\":\"Fabiano Abreu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png\",\"contentUrl\":\"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png\",\"width\":184,\"height\":184,\"caption\":\"Fabiano Abreu\"},\"logo\":{\"@id\":\"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/devtools.com.br\/blog\"],\"url\":\"https:\/\/devtools.com.br\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Alterando a senha do usu\u00e1rio Postgres - PostgreSQL","description":"Veja como alterar a senha do usu\u00e1rio postgres, do banco de dados PostgreSQL via SQL Shell script, seja no Windows ou Linux.","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:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/","og_locale":"pt_BR","og_type":"article","og_title":"Alterando a senha do usu\u00e1rio Postgres - PostgreSQL","og_description":"Veja como alterar a senha do usu\u00e1rio postgres, do banco de dados PostgreSQL via SQL Shell script, seja no Windows ou Linux.","og_url":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/","og_site_name":"Devtools","article_published_time":"2011-06-21T20:31:00+00:00","article_modified_time":"2020-11-03T22:02:19+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png","type":"image\/png"}],"author":"Fabiano Abreu","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Fabiano Abreu","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#article","isPartOf":{"@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/"},"author":{"name":"Fabiano Abreu","@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed"},"headline":"Alterando a senha do usu\u00e1rio Postgres","datePublished":"2011-06-21T20:31:00+00:00","dateModified":"2020-11-03T22:02:19+00:00","mainEntityOfPage":{"@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/"},"wordCount":223,"commentCount":14,"publisher":{"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed"},"image":{"@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage"},"thumbnailUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png","articleSection":["PostgreSQL"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/","url":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/","name":"Alterando a senha do usu\u00e1rio Postgres - PostgreSQL","isPartOf":{"@id":"https:\/\/devtools.com.br\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage"},"image":{"@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage"},"thumbnailUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png","datePublished":"2011-06-21T20:31:00+00:00","dateModified":"2020-11-03T22:02:19+00:00","description":"Veja como alterar a senha do usu\u00e1rio postgres, do banco de dados PostgreSQL via SQL Shell script, seja no Windows ou Linux.","breadcrumb":{"@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#primaryimage","url":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png","contentUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2011\/06\/postgresql-1.png","width":200,"height":200,"caption":"postgresql"},{"@type":"BreadcrumbList","@id":"https:\/\/devtools.com.br\/blog\/alterando-a-senha-do-usuario-postgres\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/devtools.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Alterando a senha do usu\u00e1rio Postgres"}]},{"@type":"WebSite","@id":"https:\/\/devtools.com.br\/blog\/#website","url":"https:\/\/devtools.com.br\/blog\/","name":"Devtools","description":"Sua caixa de ferramentas online","publisher":{"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devtools.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":["Person","Organization"],"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/aa3425fdfdefa404466fc49f6d122eed","name":"Fabiano Abreu","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/","url":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png","contentUrl":"https:\/\/devtools.com.br\/blog\/wp-content\/uploads\/2022\/07\/Fabiano-Abreu.png","width":184,"height":184,"caption":"Fabiano Abreu"},"logo":{"@id":"https:\/\/devtools.com.br\/blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/devtools.com.br\/blog"],"url":"https:\/\/devtools.com.br\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts\/532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/comments?post=532"}],"version-history":[{"count":2,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts\/532\/revisions"}],"predecessor-version":[{"id":788,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/posts\/532\/revisions\/788"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/media\/793"}],"wp:attachment":[{"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/media?parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/categories?post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devtools.com.br\/blog\/wp-json\/wp\/v2\/tags?post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}