Thread: [pgsqlclient-checkins] SF.net SVN: pgsqlclient: [112] trunk/PostgreSqlClient/source/PostgreSql/Data/
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2006-04-13 14:39:27
|
Revision: 112 Author: carlosga_fb Date: 2006-04-13 07:39:19 -0700 (Thu, 13 Apr 2006) ViewCVS: http://svn.sourceforge.net/pgsqlclient/?rev=112&view=rev Log Message: ----------- Modified Paths: -------------- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs Modified: trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs =================================================================== --- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-04-13 14:28:46 UTC (rev 111) +++ trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-04-13 14:39:19 UTC (rev 112) @@ -50,7 +50,7 @@ } DataTypes.Add(16 , "bool" , PgDataType.Boolean , 0, PgTypeFormat.Binary, 1); - DataTypes.Add(17 , "bytea" , PgDataType.Binary , 0, PgTypeFormat.Binary, 0); + DataTypes.Add(17 , "bytea" , PgDataType.Binary , 0, PgTypeFormat.Binary, Int32.MaxValue); DataTypes.Add(18 , "char" , PgDataType.Char , 0, PgTypeFormat.Text, 0); DataTypes.Add(19 , "name" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); DataTypes.Add(20 , "int8" , PgDataType.Int8 , 0, PgTypeFormat.Binary, 8); @@ -58,7 +58,7 @@ DataTypes.Add(22 , "int2vector" , PgDataType.Vector , 21, PgTypeFormat.Binary, 2); DataTypes.Add(23 , "int4" , PgDataType.Int4 , 0, PgTypeFormat.Binary, 4); DataTypes.Add(24 , "regproc" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); - DataTypes.Add(25 , "text" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); + DataTypes.Add(25 , "text" , PgDataType.VarChar , 0, PgTypeFormat.Text, Int32.MaxValue); DataTypes.Add(26 , "oid" , PgDataType.Int4 , 0, PgTypeFormat.Binary, 4); DataTypes.Add(30 , "oidvector" , PgDataType.Vector , 26, PgTypeFormat.Binary, 4); DataTypes.Add(600 , "point" , PgDataType.Point , 701, PgTypeFormat.Binary, 16); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <car...@us...> - 2006-04-14 13:12:03
|
Revision: 118 Author: carlosga_fb Date: 2006-04-14 06:11:53 -0700 (Fri, 14 Apr 2006) ViewCVS: http://svn.sourceforge.net/pgsqlclient/?rev=118&view=rev Log Message: ----------- Modified Paths: -------------- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs Modified: trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs =================================================================== --- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-04-14 13:11:20 UTC (rev 117) +++ trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-04-14 13:11:53 UTC (rev 118) @@ -289,6 +289,9 @@ } } + // Clear parameter status + this.ParameterStatus.Clear(); + // Send Startup message PgOutputPacket packet = new PgOutputPacket(this.Encoding); @@ -624,10 +627,6 @@ switch (isolationLevel) { - case IsolationLevel.ReadCommitted: - sql += "READ COMMITTED"; - break; - case IsolationLevel.ReadUncommitted: throw new NotSupportedException("Read uncommitted transaction isolation is not supported"); @@ -637,6 +636,11 @@ case IsolationLevel.Serializable: sql += "SERIALIZABLE"; break; + + case IsolationLevel.ReadCommitted: + default: + sql += "READ COMMITTED"; + break; } PgStatement stmt = CreateStatement(sql); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <car...@us...> - 2006-04-17 13:01:08
|
Revision: 129 Author: carlosga_fb Date: 2006-04-17 06:00:36 -0700 (Mon, 17 Apr 2006) ViewCVS: http://svn.sourceforge.net/pgsqlclient/?rev=129&view=rev Log Message: ----------- Modified Paths: -------------- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs Modified: trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs =================================================================== --- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-04-17 12:59:43 UTC (rev 128) +++ trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-04-17 13:00:36 UTC (rev 129) @@ -123,10 +123,10 @@ Charactersets.Add("ISO_8859_7" , 1253); // ISO 8859-7/ECMA 118 (Latin/Greek) Charactersets.Add("LATIN9" , "iso-8859-15"); // ISO 8859-15 (Latin alphabet no.9) Charactersets.Add("KOI8" , "koi8-r"); // KOI8-R(U) - Charactersets.Add("WIN" , "windows-1251"); // Windows CP1251 + Charactersets.Add("WIN" , "windows-1251"); // Windows CP1251 + Charactersets.Add("WIN1251" , "windows-1251");// Windows CP1251 Charactersets.Add("WIN1256" , "windows-1256"); // Windows CP1256 (Arabic) - Charactersets.Add("WIN1256" , "windows-1256"); // Windows CP1256 (Arabic) - Charactersets.Add("WIN1256" , "windows-1258"); // TCVN-5712/Windows CP1258 (Vietnamese) + Charactersets.Add("WIN1258" , "windows-1258"); // TCVN-5712/Windows CP1258 (Vietnamese) Charactersets.Add("WIN1256" , "windows-874"); // Windows CP874 (Thai) } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <car...@us...> - 2006-05-15 13:23:21
|
Revision: 134 Author: carlosga_fb Date: 2006-05-15 06:23:15 -0700 (Mon, 15 May 2006) ViewCVS: http://svn.sourceforge.net/pgsqlclient/?rev=134&view=rev Log Message: ----------- ?\194?\183 Fixed bpchar mapping Modified Paths: -------------- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs Modified: trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs =================================================================== --- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-05-15 12:47:08 UTC (rev 133) +++ trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-05-15 13:23:15 UTC (rev 134) @@ -90,7 +90,7 @@ DataTypes.Add(1028 , "_oid" , PgDataType.Array , 26, PgTypeFormat.Binary, 4); DataTypes.Add(1033 , "aclitem" , PgDataType.VarChar , 0, PgTypeFormat.Text, 12); DataTypes.Add(1034 , "_aclitem" , PgDataType.Array , 1033, PgTypeFormat.Text, 0); - DataTypes.Add(1042 , "bpchar" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); + DataTypes.Add(1042 , "bpchar" , PgDataType.Char , 0, PgTypeFormat.Text, 0); DataTypes.Add(1043 , "varchar" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); DataTypes.Add(1082 , "date" , PgDataType.Date , 0, PgTypeFormat.Binary, 4); DataTypes.Add(1083 , "time" , PgDataType.Time , 0, PgTypeFormat.Text, 8); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <car...@us...> - 2006-05-23 07:44:58
|
Revision: 155 Author: carlosga_fb Date: 2006-05-23 00:44:50 -0700 (Tue, 23 May 2006) ViewCVS: http://svn.sourceforge.net/pgsqlclient/?rev=155&view=rev Log Message: ----------- 2006-05-23 Carlos Guzman Alvarez (car...@gm...) - PostgreSql\Data\PostgreSqlClient\Protocol\PgDatabase.cs: - Added regclass datatype definition. Modified Paths: -------------- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs Modified: trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs =================================================================== --- trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-05-23 07:43:25 UTC (rev 154) +++ trunk/PostgreSqlClient/source/PostgreSql/Data/Protocol/PgDatabase.cs 2006-05-23 07:44:50 UTC (rev 155) @@ -58,7 +58,7 @@ DataTypes.Add(22 , "int2vector" , PgDataType.Vector , 21, PgTypeFormat.Binary, 2); DataTypes.Add(23 , "int4" , PgDataType.Int4 , 0, PgTypeFormat.Binary, 4); DataTypes.Add(24 , "regproc" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); - DataTypes.Add(25 , "text" , PgDataType.VarChar , 0, PgTypeFormat.Text, Int32.MaxValue); + DataTypes.Add(25 , "text" , PgDataType.Text , 0, PgTypeFormat.Text, Int32.MaxValue); DataTypes.Add(26 , "oid" , PgDataType.Int4 , 0, PgTypeFormat.Binary, 4); DataTypes.Add(30 , "oidvector" , PgDataType.Vector , 26, PgTypeFormat.Binary, 4); DataTypes.Add(600 , "point" , PgDataType.Point , 701, PgTypeFormat.Binary, 16); @@ -103,6 +103,7 @@ DataTypes.Add(1562 , "varbit" , PgDataType.Byte , 0, PgTypeFormat.Binary, 0); DataTypes.Add(1700 , "numeric" , PgDataType.Decimal , 0, PgTypeFormat.Text, 8); DataTypes.Add(1790 , "refcursor" , PgDataType.Refcursor , 0, PgTypeFormat.Text, 0); + DataTypes.Add(2205 , "regclass" , PgDataType.VarChar , 0, PgTypeFormat.Text, 0); DataTypes.Add(2277 , "anyarray" , PgDataType.Array , 0, PgTypeFormat.Binary, 8); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |