From d0c1d715299f9e723634a27da7f9f73f3b3f8a8c Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 17 Aug 2014 00:42:02 -0700 Subject: [PATCH] Get out of the way of the where keyword Closes #52 --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index ef69786c..0ecd1ed4 100644 --- a/src/error.rs +++ b/src/error.rs @@ -448,7 +448,7 @@ pub struct PostgresDbError { /// this includes a call stack traceback of active procedural language /// functions and internally-generated queries. The trace is one entry per /// line, most recent first. - pub where: Option, + pub where_: Option, /// If the error was associated with a specific database object, the name /// of the schema containing that object, if any. (PostgreSQL 9.3+) pub schema: Option, @@ -498,7 +498,7 @@ impl PostgresDbError { None => None } }, - where: map.pop(&('W' as u8)), + where_: map.pop(&('W' as u8)), schema: map.pop(&('s' as u8)), table: map.pop(&('t' as u8)), column: map.pop(&('c' as u8)),