Unix Technical Forum

Re: Practical impediment to supporting multiple SSL libraries

This is a discussion on Re: Practical impediment to supporting multiple SSL libraries within the pgsql Hackers forums, part of the PostgreSQL category; --> Martijn van Oosterhout wrote: >On Thu, Apr 13, 2006 at 09:00:10PM -0400, Tom Lane wrote: > > >>Probably there ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #31 (permalink)  
Old 04-12-2008, 02:02 AM
Hiroshi Inoue
 
Posts: n/a
Default Re: Practical impediment to supporting multiple SSL libraries

Martijn van Oosterhout wrote:

>On Thu, Apr 13, 2006 at 09:00:10PM -0400, Tom Lane wrote:
>
>
>>Probably there would need to be at least three callbacks involved:
>>one for setup, called just after the tuple descriptor info has been
>>received; one for per-field data receipt, and one for per-tuple
>>operations (called after all the fields of the current tuple have
>>been passed to the per-field callback). Maybe you'd want a shutdown
>>callback too, although that's probably not strictly necessary since
>>whatever you might need it to do could be done equally well in the
>>app after PQgetResult returns. (You still want to return a PGresult
>>to carry command success/failure info, and probably the tuple descriptor
>>info, even though use of the callbacks would leave it containing none of
>>the data.)
>>
>>

>
>Sounds really good. The only thing now is that the main author of the
>wire-protocol code in psqlODBC has not yet made any comment on any of
>this. So we dont want to set anything in stone until we know it would
>solve their problem...
>
>


Unfortunately I don't have so much time to examine it.
Though the double_copying issue may be the biggest one, I'm pretty sure
it's not the unqiue one. We are happy if we would be able to replace the
current
code by libpq API one by one but it's impossible because the driver
can't go back
to libpq mode once after it went into hi-jacking mode.
As for hi-jacking mode used in the driver it's better to be able to use
encapsulated
recv/send than getting the pointer to SSL or socket.

regards,
Hiroshi Inoue

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com