Re: Exporting tables/views - Mailing list pgsql-novice

From Andreas Wenk
Subject Re: Exporting tables/views
Date
Msg-id 49943FE1.6010206@netzmeister-st-pauli.de
Whole thread Raw
In response to Exporting tables/views  (salmonix <getforum@gmail.com>)
List pgsql-novice
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


salmonix schrieb:
> Hi there,
> I would like to export PostgreSQL tables - or views - into separate
> db for SQLite - these are going to be passed around for offline work.
> I have thought of using triggers on the tables/columns when changed to
> immediately create an export copy, so clients can download these updated
> db's for work.

Hi,

another idea is to do that server sided with pg_dump by using paramater -t ("Dump  only
tables (or views or sequences) matching table") and a cronjob ....

Checkout man pg_dump, man pg_restore and the doku ...

Cheers

Andy


>  I have found thin doc on it - probably my bad -, so asking for help.
> Thanks a lot,
> Laslo Forro
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJlD/hVa7znmSP9AwRAqDgAJ4hKygGRd+j1wAN2dy3yJDXSNhU8wCfX89P
I9dqdy7XyJJn4WLe1tTGNw8=
=KeRr
-----END PGP SIGNATURE-----

pgsql-novice by date:

Previous
From: Bob McConnell
Date:
Subject: Re: "Existing installation" when there should be none
Next
From: JORGE MALDONADO
Date:
Subject: CHANGING THE DATA LOCATION