<?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[Mango M2M 2.2.2 Postgresql Issue]]></title><description><![CDATA[<p dir="auto">Hi Folks,</p>
<p dir="auto">New mango M2M is providiing feature to migrate data to postgresql, but it is not working. I tried to change Mango DB, Durby to Postgresql, but it created many problems for me:</p>
<p dir="auto">First issue When Starting Mango after changing configuration:</p>
<p dir="auto">Related to DATA column which is of BYTEA datatype.</p>
<p dir="auto">Second, Mango is diplaying this error while adding datasource,</p>
<blockquote></blockquote>
<p dir="auto">org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [SELECT <a href="http://dp.id" rel="nofollow ugc">dp.id</a>,dp.data,dp.xid,dp.dataSourceId,<a href="http://dp.name" rel="nofollow ugc">dp.name</a>,dp.deviceName,dp.enabled,dp.pointFolderId,dp.loggingType,dp.intervalLoggingPeriodType,dp.intervalLoggingPeriod,dp.intervalLoggingType,dp.tolerance,dp.purgeOverride,dp.purgeType,dp.purgePeriod,dp.defaultCacheSize,dp.discardExtremeValues,dp.engineeringUnits,<a href="http://ds.name" rel="nofollow ugc">ds.name</a>,ds.xid,ds.dataSourceType FROM dataPoints AS dp join dataSources ds on <a href="http://ds.id" rel="nofollow ugc">ds.id</a> = dp.dataSourceId WHERE dp.dataSourceId IN (?) ORDER BY dp.deviceName, <a href="http://dp.name" rel="nofollow ugc">dp.name</a> LIMIT ? OFFSET ?]; nested exception is org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying<br />
Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.</p>
<p dir="auto">:evil:</p>
<p dir="auto">Any Help would be appreciated...</p>
]]></description><link>https://forum.mango-os.com/topic/1547/mango-m2m-2-2-2-postgresql-issue</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 10:52:44 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1547.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 May 2014 18:04:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mango M2M 2.2.2 Postgresql Issue on Thu, 15 May 2014 20:16:07 GMT]]></title><description><![CDATA[<p dir="auto">Sad to hear that.</p>
<p dir="auto">I was also planning to migrate from Derby to PostgreSQL. I prefer postgres over MySQL due to license terms.</p>
]]></description><link>https://forum.mango-os.com/post/8581</link><guid isPermaLink="true">https://forum.mango-os.com/post/8581</guid><dc:creator><![CDATA[aoliver]]></dc:creator><pubDate>Thu, 15 May 2014 20:16:07 GMT</pubDate></item><item><title><![CDATA[Reply to Mango M2M 2.2.2 Postgresql Issue on Thu, 15 May 2014 20:12:05 GMT]]></title><description><![CDATA[<p dir="auto">We did do experimenting with Postgresql in the past but it was never officially supported or released.</p>
<p dir="auto">Joel.</p>
]]></description><link>https://forum.mango-os.com/post/8580</link><guid isPermaLink="true">https://forum.mango-os.com/post/8580</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 15 May 2014 20:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to Mango M2M 2.2.2 Postgresql Issue on Thu, 15 May 2014 20:09:55 GMT]]></title><description><![CDATA[<p dir="auto">From the GitHub public source:</p>
<p dir="auto"><a href="https://github.com/infiniteautomation/ma-core-public/blob/master/Core/db/createTables-POSTGRES.sql" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/blob/master/Core/db/createTables-POSTGRES.sql</a></p>
<p dir="auto">Also, test-env.properties is configured for postgres:</p>
<p dir="auto"><a href="https://github.com/infiniteautomation/ma-core-public/blob/master/Core/src-test/test-env.properties" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/blob/master/Core/src-test/test-env.properties</a></p>
]]></description><link>https://forum.mango-os.com/post/8579</link><guid isPermaLink="true">https://forum.mango-os.com/post/8579</guid><dc:creator><![CDATA[aoliver]]></dc:creator><pubDate>Thu, 15 May 2014 20:09:55 GMT</pubDate></item><item><title><![CDATA[Reply to Mango M2M 2.2.2 Postgresql Issue on Thu, 15 May 2014 18:56:21 GMT]]></title><description><![CDATA[<p dir="auto">Postgresql is not supported by Mango.  I'm not sure where you saw that it was?<br />
Joel.</p>
]]></description><link>https://forum.mango-os.com/post/8574</link><guid isPermaLink="true">https://forum.mango-os.com/post/8574</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 15 May 2014 18:56:21 GMT</pubDate></item></channel></rss>