Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [pgsql-fr-generale] desactivation des trigers pendant une réplication



William Dode a écrit :
slt,

Quel est le moyen le plus simple de désactiver les trigers pendant une réplication simple ?

Un drop puis une recréation par la suite ?



ALTER TABLE matable DISABLE TRIGGER nomtrigger ;

puis

ALTER TABLE matable ENABLE TRIGGER nomtrigger ;

tout simplement, depuis la versio 8.1, il me semble : http://docs.postgresqlfr.org/8.2/sql-altertable.html



--
Sébastien Lardière




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group