Porting PostgresSQL libraries for QNX710

Started by Rajith Rao .B(App Software)over 2 years ago3 messageshackers
Jump to latest
#1Rajith Rao .B(App Software)
ranjithraob@medha.com

Hello,

I have been working on ubuntu 22.04 LTS with postgres in my applications
and need to deploy that application on QNX710.

I have a requirement to port postgresSQL 12.18 to QNX 7.1 ,is it
possible to build/port postgreSQL libraries for QNX7.1 Intel and Aarch64
architectures.

Hope my query is clear for you and expecting  a resolution for this.

Thanks & Regards,
Ranjith Rao.B

*******************************************************************************************
Disclaimer:The information contained in this e-mail and/or attachments to it may contain confidential data (or) privileged information of Medha. If you are not the intended recipient, any dissemination, use in any manner, review, distribution, printing, copying of the information contained in this e-mail and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify the sender and immediately delete the message and attachments (if any) permanently.
"Please consider the environment before printing this message."
*******************************************************************************************

#2Daniel Gustafsson
daniel@yesql.se
In reply to: Rajith Rao .B(App Software) (#1)
Re: Porting PostgresSQL libraries for QNX710

On 22 Feb 2024, at 06:12, Rajith Rao .B(App Software) <ranjithraob@medha.com> wrote:

Hope my query is clear for you and expecting a resolution for this.

There is no official port of libpq to QNX, so the short answer is that you're
on your own. QNX support was removed in 8.2, so maybe looking at the code
before that happened might give some insights on how to get started?

--
Daniel Gustafsson

#3Daniel Gustafsson
daniel@yesql.se
In reply to: Rajith Rao .B(App Software) (#1)
Re: Porting PostgresSQL libraries for QNX710

On 22 Feb 2024, at 11:35, Rajith Rao .B(App Software) <ranjithraob@medha.com> wrote:

I have been using the Qt IDE with C++ for database connection and query execution, and unfortunately, I cannot share the code with you.

No worries, I have no intention to work on this.

You mentioned that PostgreSQL support for QNX was removed starting from version 8.2. Are there any alternative methods to port or build PostgreSQL libraries for QNX 7.1.0?

There is no other way to build any software on a new architecture than rolling
up the sleeves and getting started.

I suggest looking at commits f55808828569, a1675649e402 and 6f84b2da75d3 in the
postgres repo as a starting point for research. The QNX support which was
removed in 8.2 was targeting QNX4, so it may or may not be helpful.

--
Daniel Gustafsson