[Mono-list] Problems with postgres.
Roberto Jimeno
rjimeno2003@yahoo.com
Tue, 18 Nov 2003 17:18:58 -0800 (PST)
--0-1765753310-1069204738=:85536
Content-Type: text/plain; charset=us-ascii
Content-Id:
Content-Disposition: inline
Hi there!
Tim, Rodrigo, Daniel, Rafael or someone willing to
help a mono/sql newbie here.
I'm using Mono 0.28 installed from an RPM file (and I
have reasons to stick to the RPM file rather than
using CVS)
I'm writing some C# code which requires to select some
information from a bunch of already-filled tables on a
postgres database.
I tried to use Mono.Data.PostgreSQL unsuccessfully as
well as Npgsql (more details on this at the bottom of
the message). Now I don't know what to do: Should I
keep on trying with either of those data providers?
Should I try to use ByteFX with postgres? Where can I
find more information about it?
Thanks in advance for helping me.
Details on the tests and failures with both data
providers:
>From http://go-mono.com/postgresql.html I copied
verbatim the examples for Mono.Data.PostgreSqlClient
and Npgsql named them
TestExample.Mono.Data.PostgreSqlClient.cs and
TestExample.Npgsql.cs respectively, and then followed
the instructions found there, in order to compile and
use the examples:
When I tried to compile the one using PostgreSqlClient
, it failed with "Cannot find type `PgConnection'"
Afterwards, I tried to compile the one using Npgsql,
which also failed, this time indicating "Use of
unassigned local variable `dbcon'" on line 15.
>From somewhere (I can't remember where, but the source
file is also attached) I copied another test example
which compiles on my system, although when I attempt
to run the .exe file using mono, it complains about an
unhandled exception ("A null value was found where an
object instance was required")
The command lines I´m using to build (or attempt to
build) the test examples are as follows:
$mcs TestExample.Mono.Data.PostgreSqlClient.cs -r
System.Data.dll -r Mono.Data.PostgreSqlClient.dll
$mcs TestExample.Npgsql.cs -r System.Data.dll -r
Npgsql.dll
$mcs OtherTestExample.cs -r System.Data.dll -r
Mono.Data.PostgreSqlClient.dll
=====
Roberto Jimeno
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
--0-1765753310-1069204738=:85536
Content-Type: application/octet-stream; name="TestExample.Mono.Data.PostgreSqlClient.cs"
Content-Transfer-Encoding: base64
Content-Description: TestExample.Mono.Data.PostgreSqlClient.cs
Content-Disposition: attachment; filename="TestExample.Mono.Data.PostgreSqlClient.cs"
dXNpbmcgU3lzdGVtOwogdXNpbmcgU3lzdGVtLkRhdGE7CiB1c2luZyBNb25v
LkRhdGEuUG9zdGdyZVNxbENsaWVudDsKIAogcHVibGljIGNsYXNzIFRlc3Qg
CiB7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgTWFpbihzdHJpbmdbXSBhcmdz
KQogICAgewogICAgICAgc3RyaW5nIGNvbm5lY3Rpb25TdHJpbmcgPSAKICAg
ICAgICAgICJTZXJ2ZXI9bG9jYWxob3N0OyIgKwogICAgICAgICAgIkRhdGFi
YXNlPXRlc3Q7IiArCiAgICAgICAgICAiVXNlciBJRD1wb3N0Z3JlczsiICsK
ICAgICAgICAgICJQYXNzd29yZD1mdW4yZGI7IjsKICAgICAgIElEYkNvbm5l
Y3Rpb24gZGJjb247CiAgICAgICBkYmNvbiA9IG5ldyBQZ0Nvbm5lY3Rpb24o
Y29ubmVjdGlvblN0cmluZyk7CiAgICAgICBkYmNvbi5PcGVuKCk7CiAgICAg
ICBJRGJDb21tYW5kIGRiY21kID0gZGJjb24uQ3JlYXRlQ29tbWFuZCgpOwog
ICAgICAgLy8gcmVxdWlyZXMgYSB0YWJsZSB0byBiZSBjcmVhdGVkIG5hbWVk
IGVtcGxveWVlCiAgICAgICAvLyB3aXRoIGNvbHVtbnMgZmlyc3RuYW1lIGFu
ZCBsYXN0bmFtZQogICAgICAgLy8gc3VjaCBhcywKICAgICAgIC8vICAgICAg
ICBDUkVBVEUgVEFCTEUgZW1wbG95ZWUgKAogICAgICAgLy8gICAgICAgICAg
IGZpcnN0bmFtZSB2YXJjaGFyKDMyKSwKICAgICAgIC8vICAgICAgICAgICBs
YXN0bmFtZSB2YXJjaGFyKDMyKSk7CiAgICAgICBzdHJpbmcgc3FsID0gCiAg
ICAgICAgICAgIlNFTEVDVCBmaXJzdG5hbWUsIGxhc3RuYW1lIiArIAogICAg
ICAgICAgICJGUk9NIGVtcGxveWVlIjsKICAgICAgIGRiY21kLkNvbW1hbmRU
ZXh0ID0gc3FsOwogICAgICAgSURhdGFSZWFkZXIgcmVhZGVyID0gZGJjbWQu
RXhlY3V0ZVJlYWRlcigpOwogICAgICAgd2hpbGUocmVhZGVyLlJlYWQoKSkg
ewogICAgICAgICAgICBzdHJpbmcgRmlyc3ROYW1lID0gKHN0cmluZykgcmVh
ZGVyWyJmaXJzdG5hbWUiXTsKICAgICAgICAgICAgc3RyaW5nIExhc3ROYW1l
ID0gKHN0cmluZykgcmVhZGVyWyJsYXN0bmFtZSJdOwogICAgICAgICAgICBD
b25zb2xlLldyaXRlTGluZSgiTmFtZTogIiArIAogICAgICAgICAgICAgICAg
Rmlyc3ROYW1lICsgIiAiICsgTGFzdE5hbWUpOwogICAgICAgfQogICAgICAg
Ly8gY2xlYW4gdXAKICAgICAgIHJlYWRlci5DbG9zZSgpOwogICAgICAgcmVh
ZGVyID0gbnVsbDsKICAgICAgIGRiY21kLkRpc3Bvc2UoKTsKICAgICAgIGRi
Y21kID0gbnVsbDsKICAgICAgIGRiY29uLkNsb3NlKCk7CiAgICAgICBkYmNv
biA9IG51bGw7CiAgICB9CiB9Cg==
--0-1765753310-1069204738=:85536
Content-Type: application/octet-stream; name="TestExample.Npgsql.cs"
Content-Transfer-Encoding: base64
Content-Description: TestExample.Npgsql.cs
Content-Disposition: attachment; filename="TestExample.Npgsql.cs"
IHVzaW5nIFN5c3RlbTsKIHVzaW5nIFN5c3RlbS5EYXRhOwogdXNpbmcgTnBn
c3FsOwogCiBwdWJsaWMgY2xhc3MgVGVzdCAKIHsKICAgIHB1YmxpYyBzdGF0
aWMgdm9pZCBNYWluKHN0cmluZ1tdIGFyZ3MpCiAgICB7CiAgICAgICBzdHJp
bmcgY29ubmVjdGlvblN0cmluZyA9IAogICAgICAgICAgIlNlcnZlcj1sb2Nh
bGhvc3Q7IiArCiAgICAgICAgICAiRGF0YWJhc2U9dGVz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mFtZTogIiArIAogICAgICAgICAgICAgICAgIEZpcnN0TmFtZSArICIg
IiArIExhc3ROYW1lKTsKICAgICAgIH0KICAgICAgIC8vIGNsZWFuIHVwCiAg
ICAgICByZWFkZXIuQ2xvc2UoKTsKICAgICAgIHJlYWRlciA9IG51bGw7CiAg
ICAgICBkYmNtZC5EaXNwb3NlKCk7CiAgICAgICBkYmNtZCA9IG51bGw7CiAg
ICAgICBkYmNvbi5DbG9zZSgpOwogICAgICAgZGJjb24gPSBudWxsOwogICAg
fQogfQo=
--0-1765753310-1069204738=:85536
Content-Type: application/octet-stream; name="OtherTestExample.cs"
Content-Transfer-Encoding: base64
Content-Description: OtherTestExample.cs
Content-Disposition: attachment; filename="OtherTestExample.cs"
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uRGF0YTsKdXNpbmcgU3lzdGVt
LkRhdGEuU3FsQ2xpZW50OwoKbmFtZXNwYWNlIFRlc3RTeXN0ZW1EYXRhU3Fs
Q2xpZW50IHsKCgljbGFzcyBQb3N0Z3Jlc1Rlc3QgewoKCQlzdGF0aWMgdm9p
ZCBDcmVhdGVUYWJsZSAoSURiQ29ubmVjdGlvbiBjbmMpIHsKCQkJCQkJCgkJ
CUlEYkNvbW1hbmQgY3JlYXRlQ29tbWFuZCA9IGNuYy5DcmVhdGVDb21tYW5k
KCk7CgkKCQkJY3JlYXRlQ29tbWFuZC5Db21tYW5kVGV4dCA9IAoJCQkJImNy
ZWF0ZSB0YWJsZSBtb25vX3Bvc3RncmVzX3Rlc3QgKCIgKwoJCQkJImJvb2xl
YW5fdmFsdWUgYm9vbGVhbiwgIiArCgkJCQkiaW50Ml92YWx1ZSBzbWFsbGlu
dCwgIiArCgkJCQkiaW50NF92YWx1ZSBpbnRlZ2VyLCAiICsKCQkJCSJiaWdp
bnRfdmFsdWUgYmlnaW50LCAiICsKCQkJCSJmbG9hdF92YWx1ZSByZWFsLCAi
ICsKCQkJCSJkb3VibGVfdmFsdWUgZG91YmxlIHByZ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