On 06/02/2012 03:38 PM, Tom Lane wrote:
Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> writes:On Sat, 2012-06-02 at 10:14 +0200, Dan Horák wrote:as it seems the koji sql files are not packaged you must get them from the koji source packageNot 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.sqlWhy is that sort of thing being kept in %doc? I always thought that doc files should be those that aren't required in the operation of the software, which is surely not the case if these are needed to set up the database. Anyway, these are surely unrelated to postgres' information_schema.sql, which is automatically installed when the database is initialized (hence the OP was getting a lot of errors from the objects already existing). regards, tom lane It works! koji call getLoggedInUser {'id': 1, 'krb_principal': None, 'name': 'kojiadmin', 'status': 0, 'usertype': 0} ^_^ http://jayeola.zapto.org/koji |
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel