<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 06/02/2012 03:38 PM, Tom Lane wrote:
    <blockquote cite="mid:17254.1338647903@sss.pgh.pa.us" type="cite">
      <pre wrap="">Mathieu Bridon <a class="moz-txt-link-rfc2396E" href="mailto:bochecha@fedoraproject.org">&lt;bochecha@fedoraproject.org&gt;</a> writes:
</pre>
      <blockquote type="cite">
        <pre wrap="">On Sat, 2012-06-02 at 10:14 +0200, Dan Horák wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">as it seems the koji sql files are not packaged you must get them from
the koji source package
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">Not packaged?
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">$ 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
</pre>
      </blockquote>
      <pre wrap="">
Why 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
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <br>
    It works!<br>
    <br>
     koji call getLoggedInUser<br>
    {'id': 1,<br>
     'krb_principal': None,<br>
     'name': 'kojiadmin',<br>
     'status': 0,<br>
     'usertype': 0}<br>
    <br>
    <br>
      ^_^<br>
    <br>
    <br>
    <a class="moz-txt-link-freetext" href="http://jayeola.zapto.org/koji">http://jayeola.zapto.org/koji</a>  <br>
    <br>
    <br>
    <br>
  </body>
</html>