׫ʖ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~notification channel name 'process ID of notifying server process notification payload string ;Contains the information needed to cancel a command issued + through a particular database connection. *print output field headings and row count fill align the fields old brain dead format output HTML tables expand tables use pager for output if needed field separator "attributes for HTML table element HTML table caption  list of replacement field names 3The name of the source-code function reporting the  error. 2The line number of the source-code location where  the error was reported. 0The file name of the source-code location where  the error was reported. 0An indication of the context in which the error 0 occurred. Presently this includes a call stack 3 traceback of active procedural language functions 4 and internally-generated queries. The trace is one $ entry per line, most recent first. !*The text of a failed internally-generated 2 command. This could be, for example, a SQL query  issued by a PL/pgSQL function. " This is defined the same as the  # field, but it is used when - the cursor position refers to an internally 4 generated command rather than the one submitted by  the client. The ! field will ( always appear when this field appears. #1A string containing a decimal integer indicating / an error cursor position as an index into the 4 original statement string. The first character has 3 index 1, and positions are measured in characters  not bytes. $2Hint: an optional suggestion what to do about the 4 problem. This is intended to differ from detail in 3 that it offers advice (potentially inappropriate) 6 rather than hard facts. Might run to multiple lines. %,Detail: an optional secondary error message 6 carrying more detail about the problem. Might run to  multiple lines. &)The primary human-readable error message ' (typically one line). Always present. '3The SQLSTATE code for the error. The SQLSTATE code 4 identifies the type of error that has occurred; it 2 can be used by front-end applications to perform 1 specific operations (such as error handling) in 5 response to a particular database error. For a list 6 of the possible SQLSTATE codes, see Appendix A. This 2 field is not localizable, and is always present. (3The severity; the field contents are ERROR, FATAL, 5 or PANIC (in an error message), or WARNING, NOTICE, 1 DEBUG, INFO, or LOG (in a notice message), or a / localized translation of one of these. Always  present. )*A fatal error occurred. +A nonfatal error (a notice or  warning) occurred. , The server's response was not understood. -"Copy In (to server) data transfer  started. .Copy Out (from server) data  transfer started. /Successful completion of a # command returning data (such as a  SELECT or SHOW). 0Successful completion of a  command returning no data. 1)The string sent to the server was empty. 2345668 encapsulates the result of a query (or more precisely, 5 of a single SQL command --- a query string given to  can A contain multiple commands and thus return multiple instances of  6. 78the connection is bad 9$idle, in a failed transaction block :#idle, in a valid transaction block ;a command is in progress <currently idle =>Negotiating SSL encryption. ?Negotiating environment-driven  parameter settings. @Received authentication; ! waiting for backend start-up to  finish. A(Waiting for a response from the server. B Connection OK; waiting to send. C#Waiting for connection to be made. D%The connection procedure has failed. EThe K is ready. FGHIJKK+ encapsulates a connection to the backend. L/Makes a new connection to the database server. CThis function opens a new database connection using the parameters @ taken from the string conninfo. Its nonblocking analogues are  M and N. DThe passed string can be empty to use all default parameters, or it 9 can contain one or more parameter settings separated by = whitespace. Each parameter setting is in the form keyword = E value. Spaces around the equal sign are optional. To write an empty E value or a value containing spaces, surround it with single quotes,  e.g., keyword = 'a value'+. Single quotes and backslashes within the / value must be escaped with a backslash, i.e., ' and \. Connection Info MBMake a connection to the database server in a nonblocking manner. Connection Info NIf M. succeeds, the next stage is to poll libpq so 7 that it can proceed with the connection sequence. Use _ to  obtain the ' of the socket underlying the database  connection. Loop thus: If N last returned  I-, wait until the socket is ready to read (as B indicated by select(), poll(), or similar system function). Then  call N again. Conversely, if N last  returned H+, wait until the socket is ready to write,  then call N again. If you have yet to call  N, i.e., just after the call to M , behave  as if it last returned H. Continue this loop until  N returns J, indicating the connection  procedure has failed, or G , indicating the connection has  been successfully made. O0Resets the communication channel to the server. BThis function will close the connection to the server and attempt C to reestablish a new connection to the same server, using all the A same parameters previously used. This might be useful for error + recovery if a working connection is lost. PHReset the communication channel to the server, in a nonblocking manner. Q%To initiate a connection reset, call P. If it returns  &, the reset has failed. If it returns , poll the reset  using Q1 in exactly the same way as you would create the  connection using N. R%Closes the connection to the server. Note that the K must not be used again after R  has been called. S-Returns the database name of the connection. T)Returns the user name of the connection. U(Returns the password of the connection. V0Returns the server host name of the connection. W$Returns the port of the connection. XCReturns the command-line options passed in the connection request. Y&Returns the status of the connection. BThe status can be one of a number of values. However, only two of A these are seen outside of an asynchronous connection procedure:  E and D. A good connection to the  database has the status E. A failed connection attempt  is signaled by status D. Ordinarily, an OK status  will remain so until R%, but a communications failure might " result in the status changing to D prematurely. In ; that case the application could try to recover by calling O. See the entry for M and N with regards to ( other status codes that might be seen. Z9Returns the current in-transaction status of the server. ;4 is reported only when a query has been sent to the  server and not yet completed. [4Looks up a current parameter setting of the server. BCertain parameter values are reported by the server automatically 0 at connection startup or whenever their values  change. [" can be used to interrogate these D settings. It returns the current value of a parameter if known, or   if the parameter is not known.  paramName \Interrogates the frontend/backend protocol being used. AApplications might wish to use this to determine whether certain C features are supported. Currently, the possible values are 2 (2.0 B protocol), 3 (3.0 protocol), or zero (connection bad). This will ? not change after connection startup is complete, but it could B theoretically change during a connection reset. The 3.0 protocol A will normally be used when communicating with PostgreSQL 7.4 or E later servers; pre-7.4 servers support only protocol 2.0. (Protocol . 1.0 is obsolete and not supported by libpq.) ]5Returns an integer representing the backend version. <Applications might use this to determine the version of the @ database server they are connected to. The number is formed by 8 converting the major, minor, and revision numbers into E two-decimal-digit numbers and appending them together. For example, B version 8.1.5 will be returned as 80105, and version 8.2 will be D returned as 80200 (leading zeroes are not shown). Zero is returned  if the connection is bad. ^BReturns the error message most recently generated by an operation  on the connection. 2Nearly all libpq functions will set a message for ^ if 6 they fail. Note that by libpq convention, a nonempty ^ ; result can be multiple lines, and will include a trailing A newline. The result string should not be expected to remain the  same across operations on the K. ?Helper function that checks for nullPtrs and returns the empty  string. _?Obtains the file descriptor number of the connection socket to @ the server. (This will not change during normal operation, but 1 could change during connection setup or reset.) `Returns the process  of the backend server process  handling this connection. DThe backend PID is useful for debugging purposes and for comparison D to NOTIFY messages (which include the PID of the notifying backend C process). Note that the PID belongs to a process executing on the + database server host, not the local host! aReturns 4 if the connection authentication method required a + password, but none was available. Returns  if not. BThis function can be applied after a failed connection attempt to 3 decide whether to prompt the user for a password. bReturns 0 if the connection authentication method used a  password. Returns  if not. AThis function can be applied after either a failed or successful < connection attempt to detect whether the server demanded a  password. c:Submits a command to the server and waits for the result.  Returns a 6 or possibly . A 6 will generally B be returned except in out-of-memory conditions or serious errors ; such as inability to send the command to the server. If a  * is returned, it should be treated like a * result. Use  ^, to get more information about such errors. =It is allowed to include multiple SQL commands (separated by ? semicolons) in the command string. Multiple queries sent in a  single c4 call are processed in a single transaction, unless  there are explicit BEGIN/&COMMIT commands included in the query C string to divide it into multiple transactions. Note however that  the returned 6, structure describes only the result of the C last command executed from the string. Should one of the commands ? fail, processing of the string stops with it and the returned  6 describes the error condition.  connection  statement result d?Submits a command to the server and waits for the result, with @ the ability to pass parameters separately from the SQL command  text. d is like c', but offers additional functionality: ? parameter values can be specified separately from the command E string proper, and query results can be requested in either text or  binary format. d' is supported only in protocol 3.0 and : later connections; it will fail when using protocol 2.0. The primary advantage of d over c is that parameter D values can be separated from the command string, thus avoiding the 8 need for tedious and error-prone quoting and escaping. Unlike c, d' allows at most one SQL command in the E given string. (There can be semicolons in it, but not more than one E nonempty command.) This is a limitation of the underlying protocol, C but has some usefulness as an extra defense against SQL-injection  attacks. BTip: Specifying parameter types via OIDs is tedious, particularly @ if you prefer not to hard-wire particular OID values into your B program. However, you can avoid doing so even in cases where the A server by itself cannot determine the type of the parameter, or B chooses a different type than you want. In the SQL command text, C attach an explicit cast to the parameter symbol to show what data " type you will send. For example: - SELECT * FROM mytable WHERE x = $1::bigint; > This forces parameter $1 to be treated as bigint, whereas by > default it would be assigned the same type as x. Forcing the E parameter type decision, either this way or by specifying a numeric D type OID, is strongly recommended when sending parameter values in D binary format, because binary format has less redundancy than text B format and so there is less chance that the server will detect a  type mismatch mistake for you.  connection  statement  parameters result format result e@Submits a request to create a prepared statement with the given ' parameters, and waits for completion. e7 creates a prepared statement for later execution with  f1. This feature allows commands that will be used A repeatedly to be parsed and planned just once, rather than each  time they are executed. e# is supported only in protocol 3.0 > and later connections; it will fail when using protocol 2.0. BThe function creates a prepared statement named stmtName from the E query string, which must contain a single SQL command. stmtName can  be ""3 to create an unnamed statement, in which case any E pre-existing unnamed statement is automatically replaced; otherwise @ it is an error if the statement name is already defined in the C current session. If any parameters are used, they are referred to 7 in the query as $1, $2, etc. paramTypes specifies, by 2, the C data types to be assigned to the parameter symbols. If paramTypes  is 6, or any particular element in the array is zero, the D server assigns a data type to the parameter symbol in the same way D it would do for an untyped literal string. Also, the query can use : parameter symbols with numbers higher than the length of > paramTypes; data types will be inferred for these symbols as  well. (See g# for a means to find out what data  types were inferred.) As with c, the result is normally a 6 whose contents , indicate server-side success or failure. A  result = indicates out-of-memory or inability to send the command at  all. Use ^, to get more information about such errors. !Prepared statements for use with f can also be created + by executing SQL PREPARE statements. (But e is more : flexible since it does not require parameter types to be ? pre-specified.) Also, although there is no libpq function for D deleting a prepared statement, the SQL DEALLOCATE statement can be  used for that purpose.  connection  stmtName query  paramTypes result f;Sends a request to execute a prepared statement with given ' parameters, and waits for the result. f is like d!, but the command to be executed D is specified by naming a previously-prepared statement, instead of B giving a query string. This feature allows commands that will be A used repeatedly to be parsed and planned just once, rather than D each time they are executed. The statement must have been prepared $ previously in the current session. f is supported only @ in protocol 3.0 and later connections; it will fail when using  protocol 2.0.  The parameters are identical to d, except that the name E of a prepared statement is given instead of a query string, and the A paramTypes parameter is not present (it is not needed since the  prepared statement'.s parameter types were determined when it was  created).  connection  stmtName  parameters result format result g<Submits a request to obtain information about the specified / prepared statement, and waits for completion. g- allows an application to obtain information ( about a previously prepared statement. g is D supported only in protocol 3.0 and later connections; it will fail  when using protocol 2.0. DstmtName can be empty to reference the unnamed statement, otherwise D it must be the name of an existing prepared statement. On success,  a 6 with status 0 is returned. The functions  | and } can be applied to this 6 to obtain E information about the parameters of the prepared statement, and the  functions n, q, v, etc provide information 5 about the result columns (if any) of the statement.  stmtName h<Submits a request to obtain information about the specified # portal, and waits for completion. h3 allows an application to obtain information about A a previously created portal. (libpq does not provide any direct A access to portals, but you can use this function to inspect the D properties of a cursor created with a DECLARE CURSOR SQL command.)  h- is supported only in protocol 3.0 and later 4 connections; it will fail when using protocol 2.0. CportalName can be empty to reference the unnamed portal, otherwise : it must be the name of an existing portal. On success, a 6  with status 0 is returned. The functions n,  q, v, etc can be applied to the 6 to obtain > information about the result columns (if any) of the portal.  portalName i*Returns the result status of the command. j Converts the ) returned by i into a : string describing the status code. The caller should not  free the result. kBReturns the error message most recently generated by an operation  on the connection. l0Returns an individual field of an error report. ?fieldcode is an error field identifier; see the symbols listed  below. 0 is returned if the PGresult is not an error or @ warning result, or does not include the specified field. Field 6 values will normally not include a trailing newline. BThe client is responsible for formatting displayed information to = meet its needs; in particular it should break long lines as B needed. Newline characters appearing in the error message fields 9 should be treated as paragraph breaks, not line breaks. DErrors generated internally by libpq will have severity and primary > message, but typically no other fields. Errors returned by a D pre-3.0-protocol server will include severity and primary message, 6 and sometimes a detail message, but no other fields. /Note that error fields are only available from 6 objects,  not K+ objects; there is no errorField function. mAReturns the number of rows (tuples) in the query result. Because D it returns an integer result, large result sets might overflow the + return value on 32-bit operating systems. n@Returns the number of columns (fields) in each row of the query  result. opq2Returns the column name associated with the given  $ number. Column numbers start at 0. rAReturns the column number associated with the given column name. s=Returns the OID of the table from which the given column was % fetched. Column numbers start at 0. tBReturns the column number (within its table) of the column making C up the specified query result column. Query-result column numbers 5 start at 0, but table columns have nonzero numbers. u Returns the 3. of the given column. Column numbers start at  0. v7Returns the data type associated with the given column  number. The 2, returned is the internal OID number of the " type. Column numbers start at 0. ?You can query the system table pg_type to obtain the names and E properties of the various data types. The OIDs of the built-in data " types are defined in the file srcincludecatalog/pg_type.h in the  source tree. wBReturns the type modifier of the column associated with the given + column number. Column numbers start at 0. =The interpretation of modifier values is type-specific; they C typically indicate precision or size limits. The value -1 is used  to indicate no information available. Most data types do not use 2 modifiers, in which case the value is always -1. xBReturns the size in bytes of the column associated with the given + column number. Column numbers start at 0. x; returns the space allocated for this column in a database + row, in other words the size of the server' s internal A representation of the data type. (Accordingly, it is not really C very useful to clients.) A negative value indicates the data type  is variable-length. y?Returns a single field value of one row of a PGresult. Row and  column numbers start at 0. #For convenience, this binding uses z and { to  help construct the result. z@Tests a field for a null value. Row and column numbers start at  0. {=Returns the actual length of a field value in bytes. Row and  column numbers start at 0. CThis is the actual data length for the particular data value, that * is, the size of the object pointed to by y. For text data @ format this is the same as strlen(). For binary format this is 9 essential information. Note that one should not rely on x to  obtain the actual data length. |:Returns the number of parameters of a prepared statement. ;This function is only useful when inspecting the result of E PQdescribePrepared. For other types of queries it will return zero. }1Returns the data type of the indicated statement * parameter. Parameter numbers start at 0. ;This function is only useful when inspecting the result of  g2. For other types of queries it will return zero.  param_number ~APrints out all the rows and, optionally, the column names to the  specified output stream. DThis function was formerly used by psql to print query results, but E this is no longer the case. Note that it assumes all the data is in  text format. 9Returns the command status tag from the SQL command that  generated the PGresult. DCommonly this is just the name of the command, but it might include 7 additional data such as the number of rows processed. 8Returns the number of rows affected by the SQL command. =This function returns a string containing the number of rows 2 affected by the SQL statement that generated the 6. This @ function can only be used following the execution of a SELECT, ? CREATE TABLE AS, INSERT, UPDATE, DELETE, MOVE, FETCH, or COPY ? statement, or an EXECUTE of a prepared query that contains an D INSERT, UPDATE, or DELETE statement. If the command that generated  the 6 was anything else,  returns an empty  string.  Returns the 20 of the inserted row, if the SQL command was an E INSERT that inserted exactly one row into a table that has OIDs, or < a EXECUTE of a prepared query containing a suitable INSERT - statement. Otherwise, this function returns . This  function will also return  if the table affected by the ) INSERT statement does not contain OIDs. ?Escapes a string for use within an SQL command. This is useful 8 when inserting data values as literal constants in SQL D commands. Certain characters (such as quotes and backslashes) must D be escaped to prevent them from being interpreted specially by the  SQL parser. @Escapes binary data for use within an SQL command with the type  bytea. As with #, this is only used when inserting + data directly into an SQL command string.  Converts a  ByteString+ representation of binary data into binary  data  the reverse of PQescapeByteaConn. This is needed when E retrieving bytea data in text format, but not when retrieving it in  binary format. >The parameter points to a string such as might be returned by  y! when applied to a bytea column.  converts ? this string representation into its binary representation. It  returns a  ByteString, or  on error. .This conversion is not exactly the inverse of , * because the string is not expected to be escaped when received  from y0. In particular this means there is no need for 5 string quoting considerations, and so no need for a K  parameter. 8Submits a command to the server without waiting for the  result(s). - is returned if the command was successfully  dispatched and  if not (in which case, use ^ to * get more information about the failure). @Submits a command and separate parameters to the server without  waiting for the result(s). >Sends a request to create a prepared statement with the given - parameters, without waiting for completion. ;Sends a request to execute a prepared statement with given 0 parameters, without waiting for the result(s). <Submits a request to obtain information about the specified 5 prepared statement, without waiting for completion. #This is an asynchronous version of g : it returns  - if it was able to dispatch the request, and  if $ not. After a successful call, call  to obtain the  results. The function'(s parameters are handled identically to  g. Like g, it will not work on  2.0-protocol connections.  stmtName <Submits a request to obtain information about the specified ) portal, without waiting for completion. #This is an asynchronous version of h : it returns  - if it was able to dispatch the request, and  if $ not. After a successful call, call  to obtain the  results. The function'(s parameters are handled identically to  h. Like h, it will not work on  2.0-protocol connections.  portalName 'Waits for the next result from a prior ,  , , or  call, and E returns it. A null pointer is returned when the command is complete $ and there will be no more results. 3If input is available from the server, consume it.  normally returns  indicating no error, but  returns 2 if there was some kind of trouble (in which case  ^6 can be consulted). Note that the result does not say > whether any input data was actually collected. After calling  , the application can check  and/or  $ to see if their state has changed. BReturns True if a command is busy, that is, getResult would block C waiting for input. A False return indicates that getResult can be ( called with assurance of not blocking. 7 will not itself attempt to read data from the server;  therefore * must be invoked first, or the busy state  will never end. /Sets the nonblocking status of the connection. 8Returns the blocking status of the database connection. @Attempts to flush any queued output data to the server. Returns   0 if successful (or if the send queue is empty),   " if it failed for some reason, or   if it B was unable to send all the data in the send queue yet (this case 3 can only occur if the connection is nonblocking). >Creates a data structure containing the information needed to C cancel a command issued through a particular database connection.  creates a   object given a K . It will  return - if the given conn is an invalid connection. ;Requests that the server abandon processing of the current  command. The return value is 'Right ()' if the cancel request was % successfully dispatched and if not, 'Left B.ByteString' containing & an error message explaining why not. CSuccessful dispatch is no guarantee that the request will have any @ effect, however. If the cancellation is effective, the current A command will terminate early and return an error result. If the > cancellation fails (say, because the server was already done B processing the command), then there will be no visible result at  all. 7Returns the next notification from a list of unhandled > notification messages received from the server. It returns a  / if there are no pending notifications. Once a B notification is returned from notifies, it is considered handled 5 and will be removed from the list of notifications. Returns the client encoding. Sets the client encoding. 1Determines the verbosity of messages returned by ^  and k. ( sets the verbosity mode, returning the  connection's previous setting. In  mode, returned B messages include severity, primary text, and position only; this ? will normally fit on a single line. The default mode produces C messages that include the above plus any detail, hint, or context / fields (these might span multiple lines). The  mode @ includes all available fields. Changing the verbosity does not 5 affect the messages available from already-existing 6 * objects, only subsequently-created ones. Enables tracing of the client/$server communication to a debugging  file stream. >Note: On Windows, if the libpq library and an application are B compiled with different flags, this function call will crash the = application because the internal representation of the FILE - pointers differ. Specifically, multithreaded/single-threaded,  releasedebug, and static)dynamic flags should be the same for the 2 library and all applications using that library. %Disables tracing started by PQtrace.   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~KLMNOPQFJIHGRSTUVWX=EDCBA@?>Y7<;:98Z[\]^_`ab6c3542defgh)10/.-,+*ijk('&%$#"! lmnpoqrstuvwxyz{|}~     ('&%$#"!  !"#$%&'()10/.-,+**+,-./0123544567<;:9889:;<=EDCBA@?>>?@ABCDEFJIHGGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 6 libpq-0.3 Database.PQ Verbosity ErrorsVerbose ErrorsDefault ErrorsTerseNotify notifyRelname notifyBePid notifyExtraCancel FlushStatus FlushWriting FlushFailedFlushOkPrintOptpoHeaderpoAlign poStandardpoHtml3 poExpandedpoPager poFieldSep poTableOpt poCaption poFieldNameRowColumn FieldCodeDiagSourceFunctionDiagSourceLineDiagSourceFile DiagContextDiagInternalQueryDiagInternalPositionDiagStatementPositionDiagMessageHintDiagMessageDetailDiagMessagePrimary DiagSqlstate DiagSeverity ExecStatus FatalError NonfatalError BadResponseCopyInCopyOutTuplesOk CommandOk EmptyQueryOidFormatBinaryTextResultTransactionStatus TransUnknown TransInError TransInTrans TransActive TransIdle ConnStatusConnectionSSLStartupConnectionSetEnvConnectionAuthOkConnectionAwaitingResponseConnectionMadeConnectionStarted ConnectionBad ConnectionOk PollingStatus PollingOkPollingWritingPollingReading PollingFailed Connection connectdb connectStart connectPollreset resetStart resetPollfinishdbuserpasshostportoptionsstatustransactionStatusparameterStatusprotocolVersion serverVersion errorMessagesocket backendPIDconnectionNeedsPasswordconnectionUsedPasswordexec execParamsprepare execPrepareddescribePrepareddescribePortal resultStatus resStatusresultErrorMessageresultErrorFieldntuplesnfieldstoColumntoRowfnamefnumberftable ftablecolfformatftypefmodfsizegetvalue getisnull getlengthnparams paramtypedefaultPrintOptprint cmdStatus cmdTuplesoidValueescapeStringConnescapeByteaConn unescapeBytea sendQuerysendQueryParams sendPreparesendQueryPreparedsendDescribePreparedsendDescribePortal getResult consumeInputisBusysetnonblocking isnonblockingflush getCancelcancelnotifiesclientEncodingsetClientEncodingsetErrorVerbositytraceuntrace p_PQfreememc_PQunescapeByteac_PQescapeByteaConnc_PQescapeStringConn c_PQoidValue c_PQcmdTuples c_PQcmdStatus c_PQprintc_fdopen c_PQparamtype c_PQnparams c_PQgetlength c_PQgetisnull c_PQgetvalue c_PQfsizec_PQfmod c_PQftype c_PQfformat c_PQftablecol c_PQftable c_PQfnumber c_PQfname c_PQnfields c_PQntuplesc_PQresultErrorFieldc_PQresultErrorMessage c_PQresStatusc_PQresultStatus p_PQclearc_PQdescribePortalc_PQdescribePreparedc_PQexecPrepared c_PQpreparec_PQexecParamsc_PQexec c_PQgetResultc_PQisnonblockingc_PQsetnonblocking c_PQisBusyc_PQconsumeInput c_PQnotifies c_PQcancelp_PQfreeCancel c_PQgetCancel c_PQflushc_PQsendDescribePortalc_PQsendDescribePreparedc_PQsendQueryPreparedc_PQsendPreparec_PQsendQueryParams c_PQsendQuery c_PQuntrace c_PQtracec_PQsetErrorVerbosityc_PQsetClientEncodingc_pg_encoding_to_charc_PQclientEncoding c_PQresetPollc_PQresetStart c_PQreset p_PQfinishc_PQerrorMessage c_PQsocketc_PQserverVersionc_PQprotocolVersionc_PQparameterStatusc_PQtransactionStatus c_PQstatusc_PQconnectionUsedPasswordc_PQconnectionNeedsPasswordc_PQbackendPID c_PQoptionsc_PQportc_PQhostc_PQpassc_PQuserc_PQdbc_PQconnectPollc_PQconnectStart c_PQconnectdb PGVerbosityPGcancelColPGresultPGconnConnbaseSystem.Posix.TypesFdghc-primGHC.BoolFalseTrue pollHelper Data.MaybeNothing statusStringCPidwithConn enumFromConnresultFromConn withResult numFromResultenumFromResult