BUG #16941: ECPG add support for const void* - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16941: ECPG add support for const void*
Date
Msg-id 16941-237cf5e9b31fcee5@postgresql.org
Whole thread Raw
Responses Re: BUG #16941: ECPG add support for const void*  (Matthias Apitz <guru@unixarea.de>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16941
Logged by:          Bryan Staley
Email address:      bryan.w.staley@gmail.com
PostgreSQL version: 13.1
Operating system:   RHEL 7
Description:

The following doesn't compile via ecpg

```
EXEC SQL BEGIN DECLARE SECTION;
  static const char[2] TEST = "F";
EXEC SQL END DECLARE SECTION;
```

Fails with
error: invalid conversion from 'const void*' to 'void*'


pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #16939: Plural interval for negative singular
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: Buffers from parallel workers not accumulated to upper nodes with gather merge