zoukankan      html  css  js  c++  java
  • PostgreSQL的schema信息,存储于何处

    查看schema信息:

    [pgsql@localhost bin]$ ./psql
    psql (9.1.2)
    Type "help" for help.
    
    pgsql=# create schema gaosche;
    CREATE SCHEMA
    pgsql=# select catalog_name,schema_name from information_schema.schemata ;
     catalog_name |    schema_name     
    --------------+--------------------
     pgsql        | pg_toast
     pgsql        | pg_temp_1
     pgsql        | pg_toast_temp_1
     pgsql        | pg_catalog
     pgsql        | public
     pgsql        | information_schema
     pgsql        | gaosche
    (7 rows)
    
    pgsql=# select * from pg_namespace;
          nspname       | nspowner |           nspacl           
    --------------------+----------+----------------------------
     pg_toast           |       10 | 
     pg_temp_1          |       10 | 
     pg_toast_temp_1    |       10 | 
     pg_catalog         |       10 | {pgsql=UC/pgsql,=U/pgsql}
     public             |       10 | {pgsql=UC/pgsql,=UC/pgsql}
     information_schema |       10 | {pgsql=UC/pgsql,=U/pgsql}
     gaosche            |       10 | 
    (7 rows)
    
    pgsql=# 

    故此,可以任务,schema,就是namespace。

  • 相关阅读:
    Cmder配置
    uboot移植
    嵌入式产品开发技术问题
    flexbox布局
    使用PS过程
    STM32 使用 FreeRTOS过程记录
    TTL、RS232、RS485、串口
    用纯css改变下拉列表select框的默认样式
    task9暂存
    Hello World
  • 原文地址:https://www.cnblogs.com/gaojian/p/3171325.html
Copyright © 2011-2022 走看看