<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Thu May 23 05:01:43 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DBAL-453/DBAL-453.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DBAL-453] PostgreSqlSchemaManager::getSchemaSearchPaths does not work for secondary schemas</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-453</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;PostgreSqlSchemaManager::getSchemaSearchPaths() uses &quot;SHOW search_path&quot; to get the current search path for the connection and explodes it using a comma delimiter. On my installation Postgresql 9.1 on Ubuntu 12.04 &quot;SHOW search__path&quot; returns the schemas in the search path separated by &quot;, &quot; (i.e. a comma followed by a space). This means that the array of schemas returned by getSchemaSearchPaths() will including a leading space on the schema names for the second and subsequent schemas in the search list.&lt;/p&gt;

&lt;p&gt;This is a particular problem if you call PostgreSqlSchemaManager::getExistingSchemaSearchPaths() because that calls determineExistingSchemaSearchPaths() which filters the list from getSchemaSearchPaths() to make sure they are in the list of schemas in the database (as returned from getSchemaNames(). The second and subsequent schemas in the search path still have a leading space when they are compared to the array of schema names, and consequently they do not match and are not included in the array returned by getExistingSchemaSearchPaths().&lt;/p&gt;

&lt;p&gt;I think that getSchemaSearchPaths should trim the leading space from the schemas.&lt;/p&gt;</description>
                <environment>Postgresql 9.1 on Ubuntu 12.04</environment>
            <key id="14547">DBAL-453</key>
            <summary>PostgreSqlSchemaManager::getSchemaSearchPaths does not work for secondary schemas</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="rhunwicks">Roger Hunwicks</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Feb 2013 14:42:17 +0000</created>
                <updated>Wed, 1 May 2013 17:16:44 +0000</updated>
                    <resolved>Wed, 1 May 2013 17:16:44 +0000</resolved>
                            <version>2.3.2</version>
                                <fixVersion>2.3.4</fixVersion>
                                <component>Schema Managers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20162" author="beberlei" created="Wed, 1 May 2013 17:16:44 +0000"  >&lt;p&gt;Fixed in 2.3.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>