<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>postgresql on yosiopp</title>
    <link>https://yosiopp.net/tags/postgresql/</link>
    <description>Recent content in postgresql on yosiopp</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>jp</language>
    <lastBuildDate>Thu, 22 Feb 2024 10:00:00 +0900</lastBuildDate><atom:link href="https://yosiopp.net/tags/postgresql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>psql</title>
      <link>https://yosiopp.net/post/20240222/</link>
      <pubDate>Thu, 22 Feb 2024 10:00:00 +0900</pubDate>
      
      <guid>https://yosiopp.net/post/20240222/</guid>
      <description>psql を使う機会があって、必要そうなコマンドをメモ。 メタコマンド \pset pager pagerのon/offを切り替える。 `\pset pager off` と明示的に off を指定できたりもする</description>
    </item>
    
    <item>
      <title>copy toにqueryって指定できたんだ</title>
      <link>https://yosiopp.net/archives/414/</link>
      <pubDate>Tue, 30 Oct 2012 01:00:18 +0000</pubDate>
      
      <guid>https://yosiopp.net/archives/414/</guid>
      <description>これ常識なんですかね？知りませんでした。。。 # \h copy Command: COPY Description: copy data between a file and a table Syntax: COPY tablename [ ( column [, ...] ) ] FROM { &#39;filename&#39; | STDIN } [ [ WITH ] [ BINARY ] [ OIDS ] [ DELIMITER [ AS ] &#39;delimiter&#39; ] [</description>
    </item>
    
    <item>
      <title>insert into select * join using の落とし穴</title>
      <link>https://yosiopp.net/archives/161/</link>
      <pubDate>Tue, 28 Aug 2012 01:00:38 +0000</pubDate>
      
      <guid>https://yosiopp.net/archives/161/</guid>
      <description>&lt;blockquote class=&#34;twitter-tweet&#34; width=&#34;500&#34;&gt;
  &lt;p&gt;
    insert into hoge select * from fuga join piyo using(id); みたいなSQLを書いてしまい、ただいま大変後悔しておりますのよ。かしこ
  &lt;/p&gt;
  &lt;p&gt;
    &amp;mdash; yosio++ (@yosiopp) &lt;a href=&#34;https://twitter.com/yosiopp/statuses/231039511440814082&#34;&gt;August 2, 2012&lt;/a&gt;
  &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;そんなわけで、今回は失敗談です。&lt;/p&gt;
&lt;p&gt;insert into selectって便利ですよね。&lt;br&gt;
なので上述のように使ってみたら、痛い目にあったよ、というお話。&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>pgAdminのオプション</title>
      <link>https://yosiopp.net/archives/134/</link>
      <pubDate>Wed, 25 Jul 2012 14:40:38 +0000</pubDate>
      
      <guid>https://yosiopp.net/archives/134/</guid>
      <description>ショックだった話。 pgAdminでクエリツールを使って任意の結果を抽出するとするじゃない？ んで出力ビューに出力された抽出結果を他のアプリで使</description>
    </item>
    
  </channel>
</rss>
