[PATCH] Make LNT compatible with PostgreSQL

Daniel Dunbar daniel at zuster.org
Wed Jul 2 09:17:35 PDT 2014


We run our internal LNT against Postgres and have done so for quite a
while, Chris can you check this patch and see why we don't need it? Is it
just because we manually updated the configuration?

 - Daniel

On Wednesday, July 2, 2014, Yi Kong <kongy.dev at gmail.com> wrote:

> Patch...
>
> On 2 July 2014 17:13, Yi Kong <kongy.dev at gmail.com <javascript:;>> wrote:
> > Public LLVM perf server suffers from frequent database locking issues.
> > SQLite is suspected to cause the problem as it is not designed for
> > multi-user system like LNT.
> >
> > The patch makes LNT compatible with PostgreSQL. Although theoretically
> > MySQL should work as well, it's not tested.
> >
> > SQLite is still supported and used by default, since setting up
> > PostgreSQL is difficult and unnecessary if deployed locally.
> >
> > To use PostgreSQL, you need to create a pgdb manually:
> >     CREATE DATABASE "lnt.db";
> > And run:
> >     lnt create SANDBOX --db-dir postgresql://user@localhost
> >
> > Cheers,
> > Yi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140702/e6f39566/attachment.html>


More information about the llvm-commits mailing list