This is a multi-part message in MIME format.
------=_NextPart_000_004D_01C61852.1E443810
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hallo zusammen,
hat jemand von Euch schon Erfahrungen mit .Net und PostGreSQL für =
Windows
gesammelt? Ich habe eine Applikation mit .Net VB entwickelt, die stabil =
auf Oracle + MS
SQL Server via .Net ODBC-Adapter läuft.
Bei PostgreSQL für Windows 8.0 und .Net (Zugriff über ODBC) habe ich =
momentan noch 2 Probleme:
a) Geschwindigkeit
Wenn ich PostgreSQL lokal als localhost installiere, ist mein Programm
verdammt langsam. SQL-Abfragen dauern ewig.
b) seltsame Abstürze bei einfachen Selects, die nicht immer auftauchen
Bsp.:
Private da_es As New OdbcDataAdapter
Private ds_es As New DataSet
da_es.SelectCommand =3D New OdbcCommand("SELECT * FROM pd_einsatz =
WHERE pde_id =3D " + CStr(pde_id), conn)
ds_es.Clear()
da_es.Fill(ds_es, "pd_einsatz")
Ich bekomme dann im PostGreSQL-Logfile immer diesen Fehler, der nirgends =
so
richtig beschrieben ist. Hab da auch schon intensiv gegoogelt.
CONN ERROR: func=3DPGAPI_GetInfo30, desc=3D'', errnum=3D209, =
errmsg=3D'Unrecognized key passed to SQLGetInfo30.'
Kennt jemand diese Probleme und kann mir vielleicht einen Hinweis geben?
Ich verwende:
- Datenbank: postgresql 8.0.4 for Windows
- ODBC: psqlodbc 08.01.0102
Gruß
Steffen
------=_NextPart_000_004D_01C61852.1E443810
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>Hallo zusammen,<BR>hat jemand von Euch schon Erfahrungen mit .Net =
und
PostGreSQL für Windows <BR>gesammelt? Ich habe eine Applikation mit =
..Net VB
entwickelt, die stabil auf Oracle + MS <BR>SQL Server via .Net =
ODBC-Adapter
läuft.<BR><BR>Bei PostgreSQL für Windows 8.0 und .Net (Zugriff =
über ODBC) habe
ich momentan noch 2 Probleme:<BR><BR>a) Geschwindigkeit<BR><BR>Wenn ich
PostgreSQL lokal als localhost installiere, ist mein Programm =
<BR>verdammt
langsam. SQL-Abfragen dauern ewig.<BR><BR>b) seltsame Abstürze bei =
einfachen
Selects, die nicht immer auftauchen<BR><BR>Bsp.:<BR><BR> Private =
da_es As
New OdbcDataAdapter<BR> Private ds_es As New =
DataSet <BR><BR>
da_es.SelectCommand =3D New OdbcCommand("SELECT * FROM pd_einsatz WHERE =
pde_id =3D "
+ CStr(pde_id), conn)<BR> ds_es.Clear()<BR> =
da_es.Fill(ds_es,
"pd_einsatz")<BR><BR><BR>Ich bekomme dann im PostGreSQL-Logfile immer =
diesen
Fehler, der nirgends so <BR>richtig beschrieben ist. Hab da auch schon =
intensiv
gegoogelt.<BR><BR>CONN ERROR: func=3DPGAPI_GetInfo30, desc=3D'', =
errnum=3D209,
errmsg=3D'<STRONG>Unrecognized key passed to =
SQLGetInfo30.</STRONG>'<BR><BR>Kennt
jemand diese Probleme und kann mir vielleicht einen Hinweis geben?</DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Ich verwende:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>- Datenbank: postgresql 8.0.4 for
Windows</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>- =
ODBC:
psqlodbc 08.01.0102</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>Gruß<BR></DIV>
<DIV><FONT face=3DArial size=3D2>Steffen</FONT></DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_004D_01C61852.1E443810--
