<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using different schema other than public in Postgres]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">How can set the configuration to use different schema in the database. Currently, all the tables are created in the public schema. Since it creates lot of tables with idata and tdata, the public schema gets cluttered. I am using Postgres.</p>
<p dir="auto">Please let me know how can I achieve this ?</p>
<p dir="auto">Thanks and best regards,</p>
<p dir="auto">ravi</p>
]]></description><link>https://forum.netxms.org/topic/6232/using-different-schema-other-than-public-in-postgres</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:00:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6232.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Oct 2019 13:14:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using different schema other than public in Postgres on Fri, 18 Oct 2019 05:20:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi Filipp,</p>
<p dir="auto">Great !! The problem is solved. I created a user in Postgres with ownership to the required schema. I configured this user in system DNS as well as in server configuration of netXMS while installing. It created all the tables in the specified schema instead of public schema. The problem is solved.</p>
<p dir="auto">Thanks you so much.</p>
<p dir="auto">Best regards,<br />
Ravi</p>
]]></description><link>https://forum.netxms.org/post/26776</link><guid isPermaLink="true">https://forum.netxms.org/post/26776</guid><dc:creator><![CDATA[ravi2904]]></dc:creator><pubDate>Fri, 18 Oct 2019 05:20:35 GMT</pubDate></item><item><title><![CDATA[Reply to Using different schema other than public in Postgres on Thu, 17 Oct 2019 21:29:13 GMT]]></title><description><![CDATA[<p dir="auto">Currently NetXMS does not support this. In Postgres terms the thing you need is called search path - it defines in which schemas Postgres will search for a database with a give name.<br />
One (complicated) way could be to add -csearch_path option to the connection function in /src/db/dbdrv/pgsql/pgsql.cpp</p>
<p dir="auto">But it looks like it's possible to specify default search path in Postgres for each user - some information could be found here: <a href="https://stackoverflow.com/a/49930672" rel="nofollow ugc">https://stackoverflow.com/a/49930672</a></p>
]]></description><link>https://forum.netxms.org/post/26773</link><guid isPermaLink="true">https://forum.netxms.org/post/26773</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 17 Oct 2019 21:29:13 GMT</pubDate></item></channel></rss>