<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>postgres</anon>
  </categories>
  <description>以下メモ書きです。 Postgresにてテーブル一覧とかカラム一覧とか各種情報を取得するためのSQLです。 間違えていたら教えてください。m(_ _)m [テーブル一覧取得] select relname as TABLE_NAME from pg_stat_user_tables [カラム一覧] select * from information_schema.columns where table_catalog='データベース名' and table_name='テーブル名' order by ordinal_position; [プライマリーキー情報取得] select ccu.col…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20080226%2Fp1&quot; title=&quot; PostgreSQLにてテーブルやカラムの各種情報を取得するSQL (テーブル一覧, カラム一覧, プライマリーキー情報取得, テーブルのコメントを取得, カラムのコメントを取得) - いろいろ備忘録日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-02-26 00:00:00</published>
  <title> PostgreSQLにてテーブルやカラムの各種情報を取得するSQL (テーブル一覧, カラム一覧, プライマリーキー情報取得, テーブルのコメントを取得, カラムのコメントを取得)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20080226/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
