Saya mencoba untuk membuang / mengembalikan database antar server. Inilah yang saya coba
MEMBUANG:
pg_dump -h localhost -U user database > dump.sql
Pulihkan Ke server lain:
createdb -h localhost -U postgres -T template0 database
psql -d database -U postgres -h localhost -f dump.sql
psql:rocdocs.sql:35: ERROR: could not access file "/usr/lib/postgresql/8.3/lib/liblwgeom": No such file or directory
psql:rocdocs.sql:38: ERROR: function public.st_box2d_in(cstring) does not exist
psql:rocdocs.sql:46: ERROR: could not access file "/usr/lib/postgresql/8.3/lib/liblwgeom": No such file or directory
psql:rocdocs.sql:49: ERROR: function public.st_box2d_out(box2d) does not exist
psql:rocdocs.sql:61: ERROR: function st_box2d_in(cstring) does not exist
... ...