psql

    1熱度

    1回答

    我有一點麻煩確定哪些天在這裏的地位誤差超過1%是表: path | text | ip | inet | method | text | status | text | time | timestamp with time zone | default now() id | integer | not null default next

    6熱度

    1回答

    我跑 psql -E -U siteportal -d portal -h 172.19.242.32 -c "COPY externals (id,logo_path,favicon_path,cover_path,header,description,sign_enable,sign_text,footer_logo_enable,footer_logo_path,footer_text,cr

    0熱度

    1回答

    自動遷移問題(我認爲)。我可以得出結論,列不存在通過psql控制檯。我可以通過終端/控制檯/ SQL手動插入列,但希望通過自動遷移來解決此問題。 感謝您的閱讀和/或採取行動。 終端輸出: 啓動Web服務器: 「(PQ:列 」password_hash「 包含空 值)」 提交POST:「(PQ:列 」password_hash「 關係「帳戶」 不存在)「

    0熱度

    2回答

    我想跟着PostgreSQL教程(https://www.postgresql.org/docs/9.5/static/tutorial-sql-intro.html)。我運行的版本9.5.7,所以我下載相應的源代碼,並試圖如圖所示的錯誤信息上面 [email protected]:~/Downloads/postgresql-9.5.7/src/tutorial$ make Makefile:

    1熱度

    1回答

    我已經搜索瞭如何關閉psql端口一段時間,但大多數答案都在談論關閉psql命令行使用\q,這不是我正在尋找的。 我的問題是,我的筆記本電腦上的postgresql正在運行並偵聽端口5432,但我想將端口5432用於其他用途。通常我運行netstat -plnt找到殺死進程,但在這種情況下,正在偵聽端口5432的進程沒有進程ID ... 關於如何釋放端口5432的任何想法? Proto Recv-Q

    7熱度

    2回答

    在運行 $ psql 我得到這個錯誤 dyld: lazy symbol binding failed: Symbol not found: _PQsetErrorContextVisibility Referenced from: /usr/local/bin/psql Expected in: /usr/local/lib/libpq.5.dylib dyld: Symbol n

    0熱度

    1回答

    我有一個Postgres腳本,我有,我打算針對多個數據庫運行。樣本SQL具有的功能和表像 CREATE FUNCTION point() RETURNS trigger LANGUAGE plpgsql AS $$ BEGIN NEW.the_geom:=ST_SetSRID(geom, :CRS) ; RETURN NEW; END $$; CREATE TABLE admin

    2熱度

    2回答

    oracle時間戳示例:26-APR-17 09.40.13.243356000 您好我有一個場景我將oracle時間戳轉換爲postgres時間戳,但輸出不是預期的。 查詢在PSQL migration=# SELECT TO_TIMESTAMP('26-APR-17 09.40.13.243356000','DD-MON-YY HH24.MI.SS:MS') :: timestamp with

    0熱度

    1回答

    我想運行大約5000行的postgresql腳本。由於職業原因,我無法分享劇本的全部內容。 但我有一些有點像這樣: SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bo

    0熱度

    1回答

    我試圖運行psql命令運行vagrant up命令然後vagrant ssh命令 $ vagrant ssh Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-75-generic i686) 0 packages can be updated. 0 updates are security updates Last login: Sat J