[Zotonic-Dev] [Postgres] Running out of number for auto-increment primary key

2017-02-27 Thread David Tran
Hi all, 1. I see that Zotonic uses integer as id for auto-increment primary key in Postgres tables such as rsc, edge. Max value of an interger is 2147483647. Let's say I have a rather heavy traffic site that will allow members to insert 1000 pages per second continuously. Would I run out of num

Re: [Zotonic-Dev] scomp pager ?

2017-02-27 Thread Marc Worrell
On master I now added an extra “template” argument to the pager scomp. - Marc > On 27 Feb 2017, at 10:01, Marc Worrell wrote: > > That is a good question. > > I see that right now we can’t have an optional parameter to change the > template. > > What you could do is test in _pager.tpl which

Re: [Zotonic-Dev] scomp pager ?

2017-02-27 Thread Marc Worrell
That is a good question. I see that right now we can’t have an optional parameter to change the template. What you could do is test in _pager.tpl which dispatch rule is being used. The admin uses only a very limited number of dispatch rules. I think we should add an optional ‘template’ argument