3,765
回編集
差分
→clientsテーブル othersテーブル
% pg_dump --username=jq --table clients_old heroku_dump > clients_old.sql
% pg_dump -t clients latest_dump > ../client_dump.sql
<nowiki>jq@MacBook-Pro tep5 % psql -d update_dump < ../client_dump.sql
SET
SET
SET
SET
SET
set_config
------------
(1 row)
SET
SET
SET
SET
SET
SET
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
ALTER SEQUENCE
ALTER TABLE
COPY 5138
setval
--------
5428
(1 row)
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
ERROR: relation "public.users" does not exist
ERROR: relation "public.jiins" does not exist</nowiki>
==== 旧clientsテーブルをリストアする ====