attbyval      | boolean   |           | not null |         | plain    |          |

 attstorage    | "char"    |           | not null |         | plain    |          |

 attalign      | "char"    |           | not null |         | plain    |          |

 attnotnull    | boolean   |           | not null |         | plain    |          |

 atthasdef     | boolean   |           | not null |         | plain    |          |

 attidentity   | "char"    |           | not null |         | plain    |          |

 attisdropped  | boolean   |           | not null |         | plain    |          |

 attislocal    | boolean   |           | not null |         | plain    |          |

 attinhcount   | integer   |           | not null |         | plain    |          |

 attcollation  | oid       |           | not null |         | plain    |          |

 attacl        | aclitem[] |           |          |         | extended |          |

 attoptions    | text[]    |           |          |         | extended |          |

 attfdwoptions | text[]    |           |          |         | extended |          |

索引:

    "pg_attribute_relid_attnam_index" UNIQUE, btree (attrelid, attname)

    "pg_attribute_relid_attnum_index" UNIQUE, btree (attrelid, attnum)

postgres=#

查看PostgreSQL数据库连接及数量

postgres=# select * from pg_stat_activity;

这个表的信息很多,可以只 查询其中部分字段:

postgres=# select datid,datname,pid,usename,state,client_addr,query from pg_stat_activity;

 datid | datname  |  pid  | usename  | state  | client_addr |                                      query

-------+----------+-------+----------+--------+-------------+---------------------------------------------------------------------------------

       |          | 18904 |          |        |             |

       |          | 18556 | postgres |        |             |

上一篇:Struts的s2-045漏洞原理拿shell
下一篇:原码反码补码详解

杜康酒52度价格大全

再熬3天生肖运势大全【字数514】

星座运势软件下载,星座...

星座运势大全下载安装,...

星座运势-十二星座专业星...

星座的古风名字大全,适...

星座测试题大全集,小测...

湖南长沙市生育津贴政策...

摩羯座运势2022,摩羯座...

浅谈岗位廉洁教育的方法与途径【3858字】

试析多元智能理论茬体育...

羟肟类萃取剂对嗜酸氧化...

旅游英语推进邢台市旅游...

PF--1415反击式破碎机箱体设计开题报告

信息技术茬旅游专业教學...

浅议体态律动在小学音乐课堂教学中的运用

基于中频信号的家用治疗...