日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

Portable PostgreSQL

發布時間:2024/4/17 数据库 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Portable PostgreSQL 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

為什么80%的碼農都做不了架構師?>>> ??

Portable PostgreSQL

?

介紹

PostgreSQL Portable

PostgreSQLPortable is an open source database packaged as a portable app, so you can run a full PostgreSQL database on your iPod, USB flash drive, portable hard drive, etc. It has all the same features as PostgreSQL, plus, it leaves no personal information behind on the machine you run it on, so you can take it with you wherever you go.

PostgreSQLPortable 是一個開源的便攜數據庫APP,你可以運行一個完整的PostgreSQL數據庫,這個數據庫存放在你的ipod,U盤等移動存儲設備,它擁有與PostgreSQL醫院的特性。它不會存留任何個人的信息在你的運行它的機器上,你可以用移動存儲設備隨時帶走。

?

Features

  • No installation required. Simply download, extract and run! 無需安裝,下周解壓立即使用。
  • Runs a complete PostgreSQL Server instance.運行一個完全的PostgreSQL實例;
  • Does not require a local "postgres" user account or administrator privileges, works for any user.不需要建立一個本地的 "postgres" 用戶或者超級用戶權限,可以用任何用戶運行。
  • Completely portable - runs off a USB, cloud drive (DropBox, iCloud drive, OneDrive, etc) or hard drive.完全便攜,運行在USB存儲設備,云盤或者硬盤上。
  • Packaged in PortableApps.com format for easy integration. PortableApps.com 方便集成。

System Requirements

  • Microsoft Windows 8, 7, Vista or XP.
  • PortableApps.com Platform?(Optional)

?

?

下載

https://sourceforge.net/projects/postgresqlportable/files/?source=navbar

https://github.com/garethflowers/postgresql-portable

?

使用

下載下來,解壓到一個目錄下,這個目錄路徑不能有中文。。。

?

運行:

?

PostgreSQLPortable.exe

?

查看角色

?

postgresql數據庫用戶

postgres=# \du

? ? ? ? ? ? ? ? ? ? ? ? ? ? ?List of roles
?Role name | ? ? ? ? ? ? ? ? ? Attributes ? ? ? ? ? ? ? ? ? | Member of?
-----------+------------------------------------------------+-----------
?postgres ? ? ?| …

?

查看用戶

postgres=# SELECT u.usename AS "User name",
? u.usesysid AS "User ID",
? CASE WHEN u.usesuper AND u.usecreatedb THEN CAST('superuser, create
database' AS pg_catalog.text)
? ? ? ?WHEN u.usesuper THEN CAST('superuser' AS pg_catalog.text)
? ? ? ?WHEN u.usecreatedb THEN CAST('create database' AS
pg_catalog.text)
? ? ? ?ELSE CAST('' AS pg_catalog.text)
? END AS "Attributes"
FROM pg_catalog.pg_user u

ORDER BY 1;

?

用戶名:postgres

?

?

客戶端

HeidiSQL

http://www.heidisql.com/

?

用戶是:postgres

端口是:5432

?

?

?

pgAdmin?

https://www.pgadmin.org/

建議pgAdmin III

?

?

教程

?

http://www.yiibai.com/html/postgresql/2013/080116.html

?

轉載于:https://my.oschina.net/grail/blog/755355

總結

以上是生活随笔為你收集整理的Portable PostgreSQL的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。