úÎ/*h3      !"#$%&'()*+,-./012portable experimental$Aleksey Uymanov <s9gf4ult@gmail.com>None3*replace with series of $1 $2 $3 and so on 4copy String to the result 5copy Text to the result 6789:345;<=>?6987:543;<=>?portable experimental$Aleksey Uymanov <s9gf4ult@gmail.com>None* Initial query 'Connection this statement working with State of statement ,Statement is finished, can still be reseted Fetching rows is in progress Columns count Tuples in result Row number waiting to fetch Just executed statement The result to fetch data from #Newly created or reseted statement  LibPQ connection if established :List of weak refs to statements to finalize on disconnect Original connection string @Throw A that connection is closed EIf connection is opened then execute an action, else throw an error. 5Convert SqlValue to native libPQ data representation Bformat any formatable data Format UTCTime as ByteString Format Day as ByteString format TimeOfDay to ByteString !format LocalTime as ByteString "'format Word64 as bit field (001010111) #convert C to D& if not converted then throw an error ECTry parse text with given parser. If parsing failed throw SqlError $,convert native LibPQ data representation to F. Now support just  GB format completely. Maybe binary protocol will be added in future  versions. %parse ByteString as H &parse ByteString as I 'parse ByteString as J (parse ByteString as K )Bparse ByteString as 64 bit field (00101110) and convert to Word64 *Gget last error code and error message from connection and throw proper  L +$Throws appropriate SqlError when no M is not given, or it is in  wrong status N)if Nothing throws error about no message ,2Get error message from the result and throw it as L -AGet the count of rows affected by UPDATE, DELETE or INSERT query .$Establish new PostgreSQL connection Oencode P in UTF8 encoding Qadd hdbi-postgresql:  before an argument Rreturn the name of   constructor 2get Result from  : if can. If can not throw an error with specified message S$Perform result finishing and return   : @/action to execute with native LibPQ connection B !"#E$TU%&'()*+N,-.1Connection string according to the documentation OV/01QRW2SXY,  !"#$%&'()*+,-./012-   .- !"#$%&'()*+,/012(  @B !"#E$TU%&'()*+N,-.OV/01QRW2SXYportable experimental$Aleksey Uymanov <s9gf4ult@gmail.com>None -.  .-Z       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMCNOGHPQRSQTUQVWQXYCDZGH[\]^_P`abcdefghihdbi-postgresql-1.1.1Database.HDBI.PostgreSQL.Parser'Database.HDBI.PostgreSQL.ImplementationDatabase.HDBI.PostgreSQLccomment linecomment qidentifierliteral quoteLiteral dollarLiteral buildSqlQueryPostgreStatementstQuery stConnectionstStatePGStatementState STFinished STFetching pgstColumns pgstFormats pgstTypes pgstTuples pgstCurrent STExecuted pgstResultSTNewPostgreConnection postNativepostStatementspostConnStringwithPGConnectionsqlValueToNative formatUTC formatDayformatTformatDT formatBitso2bnativeToSqlValueparseTparseDTparseDparseUTCparseBitthrowErrorMessage getPGResultthrowResultErrorpgAffectedRowsconnectPostgreSQLpgRunpgRunRaw pgRunMany pgstGetResultPReplace PQuoteString PQuoteTextQLCharOtherQuoteBackQ ParseResult normalTextqmarkcomment sqlParserbuildBSthrowConnectionClosed hdbi-1.1.1Database.HDBI.TypesSqlDriverError formatToBSpostgresql-libpq-0.8.2.4Database.PostgreSQL.LibPQOidpostgresql-simple-0.3.6.0'Database.PostgreSQL.Simple.BuiltinTypes BuiltinTypeparseFromNativeDatabase.HDBI.SqlValueSqlValueText time-1.4.0.1Data.Time.LocalTime.TimeOfDay TimeOfDayData.Time.LocalTime.LocalTime LocalTimeData.Time.Calendar.DaysDayData.Time.Clock.UTCUTCTimeSqlErrorResultthrowNoMessage encodeUTF8 text-0.11.3.1Data.Text.Lazy.InternalpgMsgpgstNamedoFinishStatement parseDTBytes parseDTString decodeUTF8 withPGSTNew$fStatementPostgreStatement$fConnectionPostgreConnection