Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 228 by ihaywo...@gmail.com: Connection.Handle to get Pointer to  
underlying db->handle.
http://code.google.com/p/gambas/issues/detail?id=228

1) Describe the problem.

I would like to use some postgres-specific features that aren't part of the  
current DB interface.
I can do this through EXTERN but I need the reference to the PGConn *  
structure that eh gambas driver has already created.

I include a patch to create a Connection.Handle read-only property which  
provides a Gambas Pointer, allowing the necessary functionality.
I have tested it with postgre, my rationale for putting it here is it could  
be useful with other database types also.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r4591
Operating system: Linux
Distribution: Debian squeeze
Architecture: x86_64
GUI component: QT4
Desktop used: Gnome




Attachments:
        conn.handle.patch  782 bytes


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to