# MQTT & POSTGRESQL on Raspberry

**URL:** <https://discourse.nodered.org/t/mqtt-postgresql-on-raspberry/13412>\
**Category:** General\
**Created:** [17 July 2019 19:32 UTC](https://discourse.nodered.org/t/mqtt-postgresql-on-raspberry/13412 "2019-07-17T19:32:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 July 2019 20:55 UTC](https://discourse.nodered.org/t/mqtt-postgresql-on-raspberry/13412/2 "2019-07-17T20:55:25Z")

</div>

Please see the link below on how to share a flow here so that it is importable. You can edit your previous post accordingly.  
Do you have a particular reason for wanting to use postgresql? You might like to consider influxdb which is designed for exactly the requirement you describe. There are influx nodes that make it very easy to output to influx (node-red-contrib-influxdb) and grafana has built in support for influx.

> [@How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506):
>
> To share code samples or flow json in this forum, you need to take care to format it properly so that it is displayed correctly. The easiest way to do that is to click the 'Preformatted Text' button in the toolbar: [image] Then paste in your code or flow json. You should end up with three back-tick characters - ``` - on their own line before and after the code. On standard US English keyboards, this is on the same key as the ~ character. Using the backticks will ens…

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-postgresql-on-raspberry/13412)._
