[BACK]Return to NpgsqlError.cs CVS log [TXT][DIR] Up to [pgFoundry] / npgsql / Npgsql2 / src / Npgsql

Diff for /npgsql/Npgsql2/src/Npgsql/NpgsqlError.cs between version 1.4 and 1.5

version 1.4, 2008/04/02 15:16:24 version 1.5, 2008/09/29 22:38:43
Line 62  namespace Npgsql
Line 62  namespace Npgsql
                 private readonly String _detail = String.Empty;                  private readonly String _detail = String.Empty;
                 private readonly String _hint = String.Empty;                  private readonly String _hint = String.Empty;
                 private readonly String _position = String.Empty;                  private readonly String _position = String.Empty;
                   private readonly String _internalPosition = String.Empty;
                   private readonly String _internalQuery = String.Empty;
                 private readonly String _where = String.Empty;                  private readonly String _where = String.Empty;
                 private readonly String _file = String.Empty;                  private readonly String _file = String.Empty;
                 private readonly String _line = String.Empty;                  private readonly String _line = String.Empty;
Line 117  namespace Npgsql
Line 119  namespace Npgsql
                 }                  }
   
                 /// <summary>                  /// <summary>
                   /// Position (one based) within the query string where the error was encounterd.  This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up.
                   /// </summary>
                   public String InternalPosition
                   {
                           get { return _internalPosition; }
                   }
   
                   /// <summary>
                   /// Internal query string where the error was encounterd.  This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up.
                   /// </summary>
                   public String InternalQuery
                   {
                           get { return _internalQuery; }
                   }
                   /// <summary>
                 /// Trace back information.  PostgreSQL 7.4 and up.                  /// Trace back information.  PostgreSQL 7.4 and up.
                 /// </summary>                  /// </summary>
                 public String Where                  public String Where
Line 246  namespace Npgsql
Line 263  namespace Npgsql
                                                                         _position = PGUtil.ReadString(stream);                                                                          _position = PGUtil.ReadString(stream);
                                                                         ;                                                                          ;
                                                                         break;                                                                          break;
                                                                   case 'p':
                                                                           _internalPosition = PGUtil.ReadString(stream);
                                                                           ;
                                                                           break;
                                                                   case 'q':
                                                                           _internalQuery = PGUtil.ReadString(stream);
                                                                           ;
                                                                           break;
                                                                 case 'W':                                                                  case 'W':
                                                                         _where = PGUtil.ReadString(stream);                                                                          _where = PGUtil.ReadString(stream);
                                                                         ;                                                                          ;
Line 262  namespace Npgsql
Line 287  namespace Npgsql
                                                                         _routine = PGUtil.ReadString(stream);                                                                          _routine = PGUtil.ReadString(stream);
                                                                         ;                                                                          ;
                                                                         break;                                                                          break;
   
   
                                                         }                                                          }
                                                 }                                                  }
                                         }                                          }
Line 283  namespace Npgsql
Line 310  namespace Npgsql
                         get { return protocol_version; }                          get { return protocol_version; }
                 }                  }
         }          }
 }  
   
   }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

PgFoundry-cvsweb <pgfoundry-cvsweb@pgFoundry.org>