RE: Compatible compiler with Postgresql C++

From: Deepti Sharma S <deepti(dot)s(dot)sharma(at)ericsson(dot)com>
To: "postgres-discuss(at)mailman(dot)lmera(dot)ericsson(dot)se" <postgres-discuss(at)mailman(dot)lmera(dot)ericsson(dot)se>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: RE: Compatible compiler with Postgresql C++
Date: 2021-01-12 14:49:42
Message-ID: HE1PR07MB335347FBE1A2553A07B3421FD7AA0@HE1PR07MB3353.eurprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)mailman(dot)lmera(dot)ericsson(dot)se' <postgres-discuss(at)mailman(dot)lmera(dot)ericsson(dot)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(at)mailman(dot)lmera(dot)ericsson(dot)se<mailto:postgres-discuss(at)mailman(dot)lmera(dot)ericsson(dot)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>)

Currently, our application is getting compiled with C++98 standard with ABI flag<https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html> 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

Browse pgsql-general by date

  From Date Subject
Next Message Michael Lewis 2021-01-12 14:55:31 Re: Define hash partition for certain column values
Previous Message Tom Lane 2021-01-12 14:48:27 Re: CASE WHEN idiomatic for functions with side-effect?