Thread: Should we excise the remnants of borland cc support?

Should we excise the remnants of borland cc support?

From
Andres Freund
Date:
Hi,

At the moment there's some rememnants of support for borland CC. I don't
believe it's likely that any of it still works. I can't remember ever
seing a buildfarm animal running it either - not surprising it's ~15
years since the last release.
Since there's both msvc and mingw support for windows builds - borlands
only platform - I see little point in continuing to support it.

The reason I'm wondering is that the atomics patch cargo cults forward
some stuff specific to borland and I'd rather not do that. And I'd
rather be explicit about stopping to do so than slyly doing it.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



Re: Should we excise the remnants of borland cc support?

From
Andrew Dunstan
Date:
On 09/20/2014 09:24 AM, Andres Freund wrote:
> Hi,
>
> At the moment there's some rememnants of support for borland CC. I don't
> believe it's likely that any of it still works. I can't remember ever
> seing a buildfarm animal running it either - not surprising it's ~15
> years since the last release.
> Since there's both msvc and mingw support for windows builds - borlands
> only platform - I see little point in continuing to support it.
>
> The reason I'm wondering is that the atomics patch cargo cults forward
> some stuff specific to borland and I'd rather not do that. And I'd
> rather be explicit about stopping to do so than slyly doing it.
>

I thought the Borland stuff was there only so we could build client 
libraries for use with things like Delphi.

It might be worth casting the net a little wider to find out if it still 
has any users.

cheers

andrew




Re: Should we excise the remnants of borland cc support?

From
Andres Freund
Date:
On September 20, 2014 4:03:43 PM CEST, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>On 09/20/2014 09:24 AM, Andres Freund wrote:
>> Hi,
>>
>> At the moment there's some rememnants of support for borland CC. I
>don't
>> believe it's likely that any of it still works. I can't remember ever
>> seing a buildfarm animal running it either - not surprising it's ~15
>> years since the last release.
>> Since there's both msvc and mingw support for windows builds -
>borlands
>> only platform - I see little point in continuing to support it.
>>
>> The reason I'm wondering is that the atomics patch cargo cults
>forward
>> some stuff specific to borland and I'd rather not do that. And I'd
>> rather be explicit about stopping to do so than slyly doing it.
>>
>
>I thought the Borland stuff was there only so we could build client 
>libraries for use with things like Delphi.

That really still relies on a 15 year old compiler?

The stuff I was thinking of - barriers and spinlocks among others - is backend only anyway?

Andres

-- 
Please excuse brevity and formatting - I am writing this on my mobile phone.

Andres Freund                       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



Re: Should we excise the remnants of borland cc support?

From
Josh Berkus
Date:
On 09/20/2014 06:24 AM, Andres Freund wrote:
> At the moment there's some rememnants of support for borland CC. I don't
> believe it's likely that any of it still works. I can't remember ever
> seing a buildfarm animal running it either - not surprising it's ~15
> years since the last release.
> Since there's both msvc and mingw support for windows builds - borlands
> only platform - I see little point in continuing to support it.

+1

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



Re: Should we excise the remnants of borland cc support?

From
Andres Freund
Date:
On 2014-09-20 10:03:43 -0400, Andrew Dunstan wrote:
> 
> On 09/20/2014 09:24 AM, Andres Freund wrote:
> >Hi,
> >
> >At the moment there's some rememnants of support for borland CC. I don't
> >believe it's likely that any of it still works. I can't remember ever
> >seing a buildfarm animal running it either - not surprising it's ~15
> >years since the last release.
> >Since there's both msvc and mingw support for windows builds - borlands
> >only platform - I see little point in continuing to support it.
> >
> >The reason I'm wondering is that the atomics patch cargo cults forward
> >some stuff specific to borland and I'd rather not do that. And I'd
> >rather be explicit about stopping to do so than slyly doing it.
> >
> 
> I thought the Borland stuff was there only so we could build client
> libraries for use with things like Delphi.
> 
> It might be worth casting the net a little wider to find out if it still has
> any users.

FWIW I got offlist reports of two not subscribed people that they simply
use the normal libpq dll from delphi. Copying it from pgadmin or the pg
installer.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



Re: Should we excise the remnants of borland cc support?

From
Tom Lane
Date:
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-09-20 10:03:43 -0400, Andrew Dunstan wrote:
>> I thought the Borland stuff was there only so we could build client
>> libraries for use with things like Delphi.

> FWIW I got offlist reports of two not subscribed people that they simply
> use the normal libpq dll from delphi. Copying it from pgadmin or the pg
> installer.

Whether or not it's really needed to preserve the ability to build libpq
with borland, I'm just about certain that it's never worked to build the
backend with borland (thus explaining the lack of buildfarm members).
So it should be safe enough to strip support appearing in backend-only
header files.
        regards, tom lane



Re: Should we excise the remnants of borland cc support?

From
Magnus Hagander
Date:
<p dir="ltr"><br /> On Sep 23, 2014 2:51 AM, "Tom Lane" <<a
href="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</a>>wrote:<br /> ><br /> > Andres Freund <<a
href="mailto:andres@2ndquadrant.com">andres@2ndquadrant.com</a>>writes:<br /> > > On 2014-09-20 10:03:43
-0400,Andrew Dunstan wrote:<br /> > >> I thought the Borland stuff was there only so we could build client<br
/>> >> libraries for use with things like Delphi.<br /> ><br /> > > FWIW I got offlist reports of two
notsubscribed people that they simply<br /> > > use the normal libpq dll from delphi. Copying it from pgadmin or
thepg<br /> > > installer.<br /> ><br /> > Whether or not it's really needed to preserve the ability to
buildlibpq<br /> > with borland, I'm just about certain that it's never worked to build the<br /> > backend with
borland(thus explaining the lack of buildfarm members).<br /> > So it should be safe enough to strip support
appearingin backend-only<br /> > header files.<br /> ><br /><p dir="ltr">The backend has never built with
borland.<p dir="ltr">I'm pretty sure I suggested we drop borland support completely a few years ago but people felt it
wasntcosting enough to warrant a drop at the time. Things may have changed now, but even without that we  can
definitelydrop the backend side of things. <p dir="ltr">/Magnus