c vs sql vs gda types



Okay, I went in (as I finally had some time) to the mysql provider to
check the type conversion routines, and found that they're
Different. Specifically, I see 

GDA_ValueType gda_mysql_connection_get_gda_type (Gda_ServerConnectio
                                                 gulong sql_type);  
gshort gda_mysql_connection_get_c_type (Gda_ServerConnection *cnc,  
                                        GDA_ValueType type);

But in postgres, which I looked at for clarification, I find

GDA_ValueType		gda_postgres_connection_get_gda_type (Gda_PO
Gda_POSTGRES_CType      gda_postgres_connection_get_c_type (Gda_POST
Gda_POSTGRES_CType	gda_postgres_connection_get_c_type_from_gda 
gulong                  gda_postgres_connection_get_sql_type(Gda_POS
gchar*			gda_postgres_connection_get_type_name(Gda_PO

(okay, it's cut and paste which is why it cut it off). What's the C type
and the SQL type? I'm familiar with the GDA_Types. I looked at
./doc/C/gda-srv.sgml, however, they're all undescribed. 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]