[Mono-list] NPGSQL.DLL POSTGRESQL AND MONO

KiOrKY KiOrKY <kiorky@goddess-gate.com>
Fri, 4 Jun 2004 17:40:08 +0200


please write me in plain text ;) i prefer you have the test case, the DB shema is simple
one table ( name : popo) with two columns ! and i want just to select all the lines in (the table isnt empty).
string srequet="select * from popo;"
string srequet3=@"Server=126.10.0.1;Port=5432;User Id=Pasquet;Database=";
srequet3+=@"Marrot;Password=kiorky";;
 Npgsql.NpgsqlConnection toto = new Npgsql.NpgsqlConnection(srequet3);	
Npgsql.NpgsqlCommand cmd = new Npgsql.NpgsqlCommand(srequet,toto);
Npgsql.NpgsqlDataAdapter DaAd = new Npgsql.NpgsqlDataAdapter(cmd);
DataSet Dsdset = new DataSet();      ===============================
DaAd.Fill(Dsdset);	<============   THE CODE CRASH HERE
Dsdset.AcceptChanges();	             ================================



regards

Jackson Harper <jackson@ximian.com> a écrit :

> I have always wondered why people would need html markup to get their point across in an email. Now I know.
> 
> Formatted version of my previous email:
> 
> Maybe because the subject wasn't in all caps? Possibly it was because
> you didn't provide enough details? 
> Could you provide a DB schema,
> and
> a more complete test case? 
> And do all of this in 
> a nice easy to read profanity free bug report filed at bugzilla.ximian.com?
> 
> Hopefully this helps clear things up.
> 
> Jackson
> 
> 
> On Fri, 2004-06-04 at 08:24, KiOrKY wrote:
> 
> so i repeat: 
> 
> debian sid
> kernel  2.4.26
> mcs 095
> mono 20040603
> gecko-sharp-0.4         gtksourceview-sharp-0.3         winelib-0.3
> gtk-sharp-0.93          libgdiplus-0.8                  wine20040505
> 
> the base is postgresql and is not on the same machine 
> 
> the code is :
> string srequet3=@&quot;Server=126.10.0.1;Port=5432;User Id=Pasquet;Database=&quot;;
> srequet3+=@&quot;Marrot;Password=kiorky&quot;;
> Npgsql.NpgsqlConnection toto = new Npgsql.NpgsqlConnection(srequet3);			Npgsql.NpgsqlCommand cmd = new Npgsql.NpgsqlCommand(srequet,toto);			Npgsql.NpgsqlDataAdapter DaAd = new Npgsql.NpgsqlDataAdapter(cmd);			DataSet Dsdset = new DataSet();								DaAd.Fill(Dsdset);								Dsdset.AcceptChanges();	
> 
> 
> 
> the result; out of memory error
> -------								
> 									
> 
> Jackson Harper &lt;jackson@ximian.com&gt; a &#233;crit :
> 
> &gt; Hello,
> &gt; 
> &gt; I have already asked you for more information on this bug. If you
> &gt; provide it the bug can be fixed. If you do not provide it and just
> &gt; continue to spam the mailing list turning development time into email
> &gt; deleting time the bug will probably not be fixed.
> &gt; 
> &gt;

-- 
----------------------------
- Gloire au monde libre    -
----------------------------
    I{ i () r |{ Y
    Debian User
---------------------------------------------
-- Mathieu PASQUET     
-- Testeur Debian SID
-- irc: #debian-fr / irc.freenode.net port: 6667 
-- Site: www.fr.debian.org 
---------------------------------------------