On Sat, 2012-06-02 at 10:14 +0200, Dan Horák wrote:
john maclean píše v So 02. 06. 2012 v 06:07 +0100:
> Setting up a private koji server. The keys and certs have been set up. Stuck at psql
stage. This command always bombs.
>
>
> command
> psql koji koji< /usr/share/doc/koji*/docs/schema.sql
>
>
> first this file is elsewhere
>
> find / -iname '*schema.sql*' 2>/dev/null
> /usr/share/pgsql/information_schema.sql
you really shouldn't play with information_schema.sql, it's PostgreSQL
internal file
as it seems the koji sql files are not packaged you must get them from
the koji source package
Not packaged?
$ yum whatprovides \*koji\*sql
[... snip ...]
koji-1.6.0-3.fc17.noarch : Build system tools
Repo : fedora
Matched from:
Filename : /usr/share/doc/koji-1.6.0/docs/schema.sql
Filename : /usr/share/doc/koji-1.6.0/docs/schema-upgrade-1.4-1.5.sql
Filename : /usr/share/doc/koji-1.6.0/docs/schema-upgrade-1.3-1.4.sql
Filename : /usr/share/doc/koji-1.6.0/docs/schema-upgrade-1.2-1.3.sql
--
Mathieu