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 ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly