pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: bryan.w.staley@gmail.com
Subject: BUG #16941: ECPG add support for const void*
Date: Tue, 23 Mar 2021 16:07:01 +0000
Message-ID: <16941-237cf5e9b31fcee5@postgresql.org> (raw)

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*'



view thread (3+ messages)  latest in thread

Message-ID: <16941-237cf5e9b31fcee5@postgresql.org>
Permalink:  ../16941-237cf5e9b31fcee5@postgresql.org/
Also on:    postgresql.org/message-id/16941-237cf5e9b31fcee5@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, bryan.w.staley@gmail.com
  Subject: Re: BUG #16941: ECPG add support for const void*
  In-Reply-To: <16941-237cf5e9b31fcee5@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox