Version 8 of TDBC Driver Development

Updated 2009-07-10 18:31:47 by scygan

This is one of the GSoC 2009 Projects.


[from http://socghop.appspot.com/student_project/show/google/gsoc2009/tcltk/t124025109884]

Student Name
SÅ‚awomir Cygan
Mentor Name
Kevin Kenny
Title
TDBC Driver Development

Abstract

I'm going to improve the TDBC driver code to make it more versatile by:
    • Implementing new drivers and adapters to existing interfaces
    • Embedding other connectivity projects under TDBC and using it as a slave below others.

Aims of project

  • PostgreSQL driver. This will be completely new driver, but very similar to existing MySQL one. It will be utilising libpq library and will be coded 99% in pure C.
  • Oracle driver. As some people expressed they need for such a driver, it was also included in my schedule. This caused some activites to be marked as "secondary", and leaved only in case of resignation from Oracle driver.
  • Secondary activities - they wre planned to provide a concept of running TDBC over existing database connectivity interface - nsdbi.

Timeline and progress

DateMilestone completedStatus
27.06Research on TDBC and existing TDBC driversDone
31.06Research on Postgre libpq interface Done
05.07Postgres driver: conenction to the driver Done
08.07Postgres driver: prepared statements Done
11.07Postgres driver: retreiving results from the statemets Working on
17.07Postgres driver: tests, increasing functionality (isolation and others) Working on
20.07Postgres driver: finished, documented -
23.07Oracle driver: getting in touch -
04.08Oracle driver: partial functionality working -
11.08Oracle driver or Secondary activities: Finished and Documented -
18.08Documentation, finishing unfinished -

Project related code and resources

  • The PostgreSQL TDBC driver is currently unfinished and still unusable, but the TDBC code including this driver is already avaliable here (it's a Fossil repository). You shouldn't need anything special to compile this driver: just installed PostgreSQL database (client at least) and "pg_config" utility (reporting sane variables) somewhere in path.

Discussion and comments

RLH I will be very excited to watch the Oracle development happen.