Search Postgresql Archives

Re: Save postgresql node to catch only DML except delete queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



roshan2013 <codevally@xxxxxxxxx> writes:

> Hi
>
> I want to keep one slave node along with our production master server, but
> that slave node only accept all the DML except Delete queries. 
>
> Primary purpose of this slave node is to keep all the data inserted to the
> primary database and no need to delete any data from that. 
>
> Anybody know how to achieve this by using postgresql in-built support or
> using any tool?

Suggest you research logical replication solution such as Slony or
SkyTools.

You wil need to implement your own row firing triggers on  archiving
tables such that delets are a no-op.

> Thanks
>
> /Pradeep.
>
>
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Save-postgresql-node-to-catch-only-DML-except-delete-queries-tp5753603.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
> -- 
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

-- 
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@xxxxxxxxxxx
p: 312.241.7800


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux