RE: Compatible compiler with Postgresql C++

Started by Deepti Sharma Sover 5 years ago1 messagesgeneral
Jump to latest
#1Deepti Sharma S
deepti.s.sharma@ericsson.com

Hello Team,

Could you please reply on below query.

Regards,
Deepti Sharma
PMP(r) & ITIL

From: Deepti Sharma S
Sent: Tuesday, January 5, 2021 4:31 PM
To: 'postgres-discuss@mailman.lmera.ericsson.se' <postgres-discuss@mailman.lmera.ericsson.se>
Subject: RE: Compatible compiler with Postgresql C++

Hello Team,

Could you please help us in below query.

Regards,
Deepti Sharma
PMP(r) & ITIL

From: Deepti Sharma S
Sent: Monday, December 28, 2020 2:48 PM
To: postgres-discuss@mailman.lmera.ericsson.se<mailto:postgres-discuss@mailman.lmera.ericsson.se>
Subject: Compatible compiler with Postgresql C++

Hello Team,

Postgres Package information used in application :

PostgreSQL
Version 12.3 (postgresql-12.3.tar.gz<https://ftp.postgresql.org/pub/source/v12.3/postgresql-12.3.tar.gz&gt;)

Currently, our application is getting compiled with C++98 standard with ABI flag<https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html&gt; disabled( -std=gnu++98 -D_GLIBCXX_USE_CXX11_ABI=0 ) on machine SUSE Linux Enterprise Server 15 SP1 with gcc/g++ version 7.5.0.

Now we are planning to migrate our application to C++11 (or C++14) standard with ABI flag enabled (-std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=1).

We want to know from Postgres,

1. Is Postgres package library compatible with C++11 (and for C++14 also ) standard with ABI flag enabled ((-std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=1)) or ((-std=gnu++14 -D_GLIBCXX_USE_CXX11_ABI=1))
2. Any behavior(runtime etc..) change
3. Do we need to follow any porting/upgrade guide to upgrade Postgres package library or any changes at API level.
4. Any other changes which can impact application from Postgres package prospective

Regards,
Deepti Sharma
PMP(r) & ITIL