Update of /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/PostgreSqlClient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26088/Data/PostgreSqlClient Modified Files: PgConnectionInternal.cs PgDataReader.cs PgInfoMessageEventArgs.cs PgNotificationEventArgs.cs Added Files: PgInfoMessageEventHandler.cs Log Message: Updated sources Index: PgInfoMessageEventArgs.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/PostgreSqlClient/PgInfoMessageEventArgs.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PgInfoMessageEventArgs.cs 11 Sep 2005 12:12:31 -0000 1.2 --- PgInfoMessageEventArgs.cs 11 Sep 2005 13:29:16 -0000 1.3 *************** *** 18,31 **** using System; using PostgreSql.Data.Protocol; - using PostgreSql.Data.DbSchema; namespace PostgreSql.Data.PostgreSqlClient { - #region Delegates - - public delegate void PgInfoMessageEventHandler(object sender, PgInfoMessageEventArgs e); - - #endregion - public sealed class PgInfoMessageEventArgs : EventArgs { --- 18,24 ---- Index: PgConnectionInternal.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/PostgreSqlClient/PgConnectionInternal.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PgConnectionInternal.cs 11 Sep 2005 12:12:31 -0000 1.4 --- PgConnectionInternal.cs 11 Sep 2005 13:29:16 -0000 1.5 *************** *** 22,26 **** using System.Text.RegularExpressions; using PostgreSql.Data.Protocol; - using PostgreSql.Data.DbSchema; namespace PostgreSql.Data.PostgreSqlClient --- 22,25 ---- *************** *** 33,37 **** private PgConnection owningConnection; private PgDbClient database; ! private PgConnectionParams options; private PgTransaction activeTransaction; private ArrayList preparedCommands; --- 32,36 ---- private PgConnection owningConnection; private PgDbClient database; ! private PgConnectionOptions options; private PgTransaction activeTransaction; private ArrayList preparedCommands; *************** *** 78,82 **** } ! public PgConnectionParams Options { get { return this.options; } --- 77,81 ---- } ! public PgConnectionOptions Options { get { return this.options; } *************** *** 114,118 **** public PgConnectionInternal(string connectionString) { ! this.options = new PgConnectionParams(); this.connectionString = connectionString; this.lifetime = 0; --- 113,117 ---- public PgConnectionInternal(string connectionString) { ! this.options = new PgConnectionOptions(); this.connectionString = connectionString; this.lifetime = 0; *************** *** 135,139 **** try { ! this.database.Settings = this.Options; this.database.Connect(); } --- 134,138 ---- try { ! this.database.Options = this.Options; this.database.Connect(); } --- NEW FILE: PgInfoMessageEventHandler.cs --- /* * PgSqlClient - ADO.NET Data Provider for PostgreSQL 7.4+ * * The contents of this file are subject to the Initial * Developer's Public License Version 1.0 (the "License"); * you may not use this file except in compliance with the * License. * * Software distributed under the License is distributed on * an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either * express or implied. See the License for the specific * language governing rights and limitations under the License. * * Copyright (c) 2003, 2005 Carlos Guzman Alvarez * All Rights Reserved. */ using System; namespace PostgreSql.Data.PostgreSqlClient { public delegate void PgInfoMessageEventHandler(object sender, PgInfoMessageEventArgs e); } Index: PgNotificationEventArgs.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/PostgreSqlClient/PgNotificationEventArgs.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgNotificationEventArgs.cs 11 Sep 2005 12:12:31 -0000 1.3 --- PgNotificationEventArgs.cs 11 Sep 2005 13:29:16 -0000 1.4 *************** *** 19,23 **** using System; using PostgreSql.Data.Protocol; - using PostgreSql.Data.DbSchema; namespace PostgreSql.Data.PostgreSqlClient --- 19,22 ---- Index: PgDataReader.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/source/PostgreSql/Data/PostgreSqlClient/PgDataReader.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgDataReader.cs 11 Sep 2005 12:12:31 -0000 1.3 --- PgDataReader.cs 11 Sep 2005 13:29:16 -0000 1.4 *************** *** 23,29 **** using System.Reflection; using System.ComponentModel; ! using PostgreSql.Data.Protocol; - using PostgreSql.Data.DbSchema; using PostgreSql.Data.PgTypes; --- 23,28 ---- using System.Reflection; using System.ComponentModel; ! using PostgreSql.Data.Schema; using PostgreSql.Data.Protocol; using PostgreSql.Data.PgTypes; *************** *** 320,347 **** private PgCommand GetColumnInfoCmd() { ! PgDbSchema dbSchema = PgDbSchemaFactory.GetSchema("Columns"); ! ! dbSchema.AddWhereFilter("pg_attribute.attnum = @OidNumber"); ! dbSchema.AddWhereFilter("pg_attribute.attrelid = @OidTable"); ! ! PgCommand cmd = new PgCommand(dbSchema.GetCommandText(null), command.Connection); ! ! cmd.Parameters.Add("@OidNumber", PgDbType.Int4); ! cmd.Parameters.Add("@OidTable", PgDbType.Int4); ! ! return cmd; } private PgCommand GetPrimaryKeyInfoCmd() { ! PgDbSchema dbSchema = PgDbSchemaFactory.GetSchema("PrimaryKeys"); ! ! dbSchema.AddWhereFilter("pg_class.oid = @OidTable"); ! ! PgCommand cmd = new PgCommand(dbSchema.GetCommandText(null), command.Connection); ! ! cmd.Parameters.Add("@OidTable", PgDbType.Int4); ! ! return cmd; } --- 319,328 ---- private PgCommand GetColumnInfoCmd() { ! throw new NotImplementedException(); } private PgCommand GetPrimaryKeyInfoCmd() { ! throw new NotImplementedException(); } |