Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3

Поиск
Список
Период
Сортировка
От Tommi Mäkitalo
Тема Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3
Дата
Msg-id 200211031530.54561.t.maekitalo@epgmbh.de
обсуждение исходный текст
Ответ на Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Compile problem on FreeBSD/Alpha
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: missing const it PQexscapeBytea/PQunescapeBytea in 7.3b3