The source content for blog.juliobiason.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
4.5 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
<title>Julio Biason .Me 4.3</title>
<!-- CSS -->
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print">
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css">
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
</head>
<body class=" ">
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<a href="https:&#x2F;&#x2F;blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a>
<p class="lead">Old school dev living in a 2.0 dev world</p>
</div>
<ul class="sidebar-nav">
<li class="sidebar-nav-item"><a href="&#x2F;">English</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt">Português</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;tags">Tags (EN)</a></li>
<li class="sidebar-nav-item"><a href="&#x2F;pt&#x2F;tags">Tags (PT)</a></li>
</ul>
</div>
</div>
<div class="content container">
<div class="post">
<h1 class="post-title">Potent Thrifty Iridium</h1>
<span class="post-date">
2020-10-22
<a href="https://blog.juliobiason.me/pt/tags/projetos/">#projetos</a>
<a href="https://blog.juliobiason.me/pt/tags/pessoal/">#pessoal</a>
<a href="https://blog.juliobiason.me/pt/tags/postgres/">#postgres</a>
<a href="https://blog.juliobiason.me/pt/tags/tui/">#tui</a>
</span>
<p><strong>ARQUIVADO</strong> <a href="https://www.pgcli.com/">pgcli</a> faz exatamente o que eu queria.</p>
<ul>
<li>TUI para Postgres.</li>
<li>Interface simples, tipo Borland.</li>
<li>Lista de servidores/conexões.</li>
</ul>
<pre style="background-color:#2b303b;color:#c0c5ce;"><code><span>+----------------------------------------+
</span><span>| *Connected to XXX* |
</span><span>+----------------------------------------+
</span><span>| Query |
</span><span>| |
</span><span>| |
</span><span>| |
</span><span>+----------------------------------------+
</span><span>| Results |
</span><span>| +----+---------+----------+------+---&gt; |
</span><span>| | Fi | Field | Field | Fiel | F |
</span><span>| +----+---------+----------+------+---&gt; |
</span><span>| | Va | Value | Value | Valu | V |
</span><span>| | Va | Value | Value | Valu | V |
</span><span>| | Va | Value | Value | Valu | V |
</span><span>| | Va | Value | Value | Valu | V |
</span><span>| +----+---------+----------+------+---&gt; |
</span><span>+----------------------------------------+
</span></code></pre>
<ul>
<li><code>&lt;Tab&gt;</code> pula entre resultados e query.</li>
<li>Salvar queries?
<ul>
<li>Salvar arquivos SQL, eles são basicamente arquivos texto de qualquer
forma...</li>
</ul>
</li>
<li>Como fazer para desconectar/retornar para a lista de servidores?</li>
<li>Teclas tipo Vim, talvez?</li>
<li>Alterar comandos como <code>\dt</code> para <code>show tables</code> (mas acertar os dois)
<ul>
<li>Melhor ainda, se o usuário usar <code>show tables</code>, mostrar que o comando de
verdade é <code>\dt</code></li>
</ul>
</li>
<li>Auto-complete tabelas e campos (mais ou menos o que o psql já faz hoje)</li>
</ul>
<!--
vim:spelllang=pt:
-->
</div>
</div>
</body>
</html>