Search Postgresql Archives

Using bdr replication with SERIAL pseudo-type.

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

 



We're trying to use bdr replication with DJango. Django's default primary keys are SERIAL columns which is a pseudo type that uses global sequences ( http://www.postgresql.org/docs/devel/static/datatype-numeric.html#DATATYPE-SERIAL ). BDR requires a global sequence to be defined using an explicit USING bdr command ( https://wiki.postgresql.org/wiki/BDR_Global_Sequences ). Is there some way to globally cause the SERIAL pseudo-type to create global sequences via bdr for the entire database? Can SERIAL be redeclared inside a database so its sequences will be created using bdr?

thanx,

  -- Ben Scherrey
     http://proteus-tech.com

[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