我正在運行一個簡單的更新查詢,是各種各樣的語法錯誤,我找不出原因。 此選擇運行正常: SELECT quote, author
FROM inspiration
WHERE length(quote)<250
AND used IS NULL
OR used > now()::date - 365
OFFSET floor(random()*10)
LIMIT 1;
雖然這GET是
無法訪問psql數據庫。下面是錯誤,同時訪問數據庫: psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?