Time of Update: 2015-05-20
標籤:進入Postgresql 1 進入資料庫 預設安裝會建立postgres 使用者,,使用postgres使用者,psql命令會直接進入資料庫:Bash代碼 $ su postgres //psql使用者 $
Time of Update: 2015-03-29
標籤:資料來源用的是Postgresql我在Deploy Report的時候出現這條ErrorMessageError 2 試圖使用未在此報表伺服器中註冊或此版 Reporting Services 不支援的資料延伸模組“Devart.Data.PostgreSql”。 解決方案:SQL Server安裝路徑\MSRS10_50.***\Reporting
Time of Update: 2015-03-12
標籤:postgresql允許遠端存取配置修改postgresql預設情況下,遠端存取不能成功,如果需要允許遠端存取,需要修改兩個設定檔,說明如下:1.postgresql.conf將該檔案中的listen_addresses項值設定為“*”,在9.0 Windows版中,該項配置已經是“*”無需修改。2.pg_hba.conf在該設定檔的host all all 127.0.0.1/32
Time of Update: 2015-02-28
標籤:opencms postgresql 一、下載postgresql並安裝。官方:http://www.enterprisedb.com/products-services-training/pgdownload#windows第一次下載了最新版本的結果點擊安裝程式直接報錯,至今沒解決。然後選擇了Version9.0.19版本下載,下載成功點擊安裝即可。二、進入官方,下載opencms9.5安裝包。http://www.op
Time of Update: 2015-01-15
標籤:一、下載解壓1,下載postgresql-9.4.0-1-windows-x64-binaries.zip2,解壓postgresql-9.4.0-1-windows-x64-binaries.zip 到E:\二、添加使用者1,添加windows使用者,用於啟動PostgreSQL的windows服務net user postgres pgsqlpw /add /expires:never /passwordchg:no
Time of Update: 2015-01-13
標籤:姚博文 postgresql liste使用postgresql向客端推送訊息#listen message_channel;notify message_channel,‘hello todd‘;jdbc:Statement stmt = conn.createStatement();stmt.execute("LISTEN message_channel");stmt.close();notifications =
Time of Update: 2015-01-12
標籤:postgresql 批處理 啟動 停止 註冊啟動 pg_install.bat:echo offset PGSQL_DIR=%~dp0if not "%PGSQL_HOME%"=="" ( if not "%PGSQL_HOME%"=="%PGSQL_DIR%" (
Time of Update: 2015-01-03
標籤: 一、建表 lihao=#create table tb (id int,pid int,name varchar); lihao=#INSERT INTO tb VALUES (1, 0, ‘廣東省‘); lihao=#INSERT INTO tb VALUES (2, 0, ‘浙江省‘); lihao=#INSERT INTO tb VALUES (3, 2, ‘衢州市‘); lihao=#INSERT INTO tb VALUES (4, 2, ‘杭州市‘);
Time of Update: 2014-12-18
標籤:os sp 資料 bs nbsp 資料庫 sql res br 一、建立資料庫連接----------------接入PostgreSQL資料庫: psql -h IP地址
Time of Update: 2014-11-30
標籤:des style blog http io ar color os sp EF的Code
Time of Update: 2014-11-14
標籤:style blog color os 使用 sp 資料 div log 一、查看哪些使用者在連結資料庫select * from pg_stat_activity ;
Time of Update: 2014-11-10
標籤:資料庫 postgresql 記憶體管理 事務 索引 PostgreSQL資料庫核心分析跳轉至: 導航、 搜尋目錄1系統概述2體繫結構3儲存管理4索引5查詢編譯6查詢執行7交易處理與並發控制8資料庫安全9附錄A 用Eclipse開發和調試系統概述 初始化資料庫:./initdb --no-locale -D
Time of Update: 2014-09-03
標籤:des style color os 使用 ar for 資料 sp 最近一直在學習Postgresql,下面是自己整理的Postgresql的常用命令 串連資料庫,
Time of Update: 2014-08-17
標籤:使用 os io 資料 ar art cti amp 建立表文法:如下create table table_name
Time of Update: 2018-12-08
¤PostgreSQL version: 8.0¤Operating system: Microsoft Windows 2003¤Short description: pg_get_serial_sequence can not find a table that existing.¤Details:I created one table via sql command like this:CREATE TABLE tTestTable {FId bigint NOT NULL
Time of Update: 2018-12-08
複製代碼 代碼如下:function getarray_postgresql($arraystr) { $regx1 = '/^{(.*)}$/'; $regx2 = "/\"((\\\\\\\\|\\\\\"|[^\"])+)\"|[^,]+/"; $regx3 = '/^[^"].*$|^"(.*)"$/'; $match = null; preg_match( $regx1,$arraystr,$match); $str = $match[1
Time of Update: 2018-12-07
一、使用EXPLAIN: PostgreSQL為每個查詢都產生一個查詢規劃,因為選擇正確的查詢路徑對效能的影響是極為關鍵的。PostgreSQL本身已經包含了一個規劃器用於尋找最優規劃,我們可以通過使用EXPLAIN命令來查看規劃器為每個查詢產生的查詢規劃。
Time of Update: 2018-12-07
環境:CentOS 6.3 最小化預設安裝,配置好網卡。安裝PostgreSQL前,確認Internet串連正常,以便下載安裝檔案。先使用 yum -y update 指令升級系統到最新版本。# 修改防火牆設定,開啟5432連接埠vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 5432 -j ACCEPT# 重啟防火牆使新設定生效service iptables restart#訪問
Time of Update: 2018-12-07
在SQL的標準中事物隔離等級分為以下四種: 1. 讀未提交(Read uncommitted) 2. 讀已提交(Read committed) 3. 可重複讀(Repeatable read) 4. 可序列化(Serializable) 然而PostgreSQL在9.1之前的版本中只是實現了其中兩種,即讀已提交和可序列化,如果在實際應用中選擇了另外兩種,那麼PostgreSQL將會自動向更嚴格的隔離等級調整。在PostgreSQL
Time of Update: 2018-12-07
Java開發Postgresql 資料庫相容應用的問題,與Oracle有一些不同:Java類型映射資料庫類型的不同,Oracle jdbc驅動程式處理Java String類型可正常映射到資料庫的Numberic(Integer),而Postgres則會出錯。另外,則是使用hibernate時經常的錯誤: operator不存在:character varying = bytea問題,不要被這個描述誤導了,並不是sql語句中character varying =