Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3

From: Tommi Mäkitalo <t(dot)maekitalo(at)epgmbh(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3
Date: 2002-11-03 14:30:54
Message-ID: 200211031530.54561.t.maekitalo@epgmbh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

not really. I can cast it away. Ugly, but it works.

But I think it isn't that big, that it cant go into 7.3? It is really very
local. It doesn't change anything. It should be very save.

I just write another C++-interface and c++ is more strict in checking.

By the way: I think there are other problems in PQescapeBytea. It do not work
as expected. It seems, than nobody is using it anyway. I am checking it right
now. I will tell you about my researches soon.

Tommi

Am Sonntag, 3. November 2002 02:29 schrieb Bruce Momjian:
> Is the missing const a major problem or can I save this patch for 7.4?
>
> ---------------------------------------------------------------------------
>
> Tommi Mäkitalo wrote:
> > Hi,
> >
> > I just discovered, that there is missing a const when passing a buffer to
> > PQescapeBytea and PQunescapeBytea. I fixed it and tried to create a
> > usable diff (I'm not so familar to diff).
> >
> > Tommi
> >
> >
> > (resent with the right identity)
>
> [ Attachment, skipping... ]
>
> [ Attachment, skipping... ]
>
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-11-03 14:50:43 Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3
Previous Message Doug McNaught 2002-11-03 13:41:17 Re: Compile problem on FreeBSD/Alpha