h$      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None '(.2358>?a beam-postgres.Specifies how we should handle lock conflicts.See  https://www.postgresql.org/docs/9.5/static/sql-select.html#SQL-FOR-UPDATE-SHAREthe manual section for more informationb beam-postgresNOWAIT2. Report an error rather than waiting for the lockc beam-postgres SKIP LOCKED3. Rather than wait for a lock, skip the row insteadd beam-postgresSpecifies the level of lock that will be taken against a row. See  https://www.postgresql.org/docs/current/static/explicit-locking.html#LOCKING-ROWSthe manual section for more information.e beam-postgres UPDATEf beam-postgres  NO KEY UPDATEg beam-postgres SHAREh beam-postgres  KEY SHARE beam-postgres for Postgres beam-postgres for Postgres beam-postgres for Postgres beam-postgres for Postgres beam-postgresRepresentation of an arbitrary Postgres command. This is the combination of the command syntax (repesented by 3), as well as the type of command (represented by ). The command type is necessary for us to know how to retrieve results from the database. beam-postgresA piece of Postgres SQL syntax, which may contain embedded escaped byte and text sequences. / composes monoidally, and may be created with , , ,  escapBytea, and . beam-postgresPostgres TypeInfo for tsvector TODO Is the Oid stable from postgres instance to postgres instance? beam-postgresLIMIT  beam-postgresOFFSET *+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~nopq~{|}xyzuvwrst[\]YZVWXQRSTUMNOPIJKLFGHBCDE>?@A;<=89:567234/01,-.ijklmdefghabc^_`*+ None '(.238>?  beam-postgres0The Postgres backend type, used to parameterize . See the definitions there for more information. The corresponding query monad is Pg. See documentation for  and the  !https://haskell-beam.github/beam/ user guide- for more information on using this backend. beam-postgresDeserialize integral fields, possibly downcasting from a larger numeric type via  if we won't lose data, and then falling back to any integral type via  beam-postgresDeserialize integral fields, possibly downcasting from a larger integral type, but only if we won't lose data None '(-./238>?X beam-postgres2The type of Postgres regular expressions. Only a   instance is supplied, because you won't need to be reading these back from the database.3If you're generating regexes dynamically, then use 2 to convert a string expression into a regex one. beam-postgres Postgres MONEY" data type. A simple wrapper over , because Postgres money format is locale-dependent, and we don't handle currency symbol placement, digit grouping, or decimal separation.The - function can be used to convert a number to . beam-postgresPostgres provides separate json_ and jsonb_ functions. However, we know what we're dealing with based on the type of data, so we can be less obtuse.For more information on how these functions behave, see the Postgres manual section on  https://www.postgresql.org/docs/current/static/functions-json.htmlJSON. beam-postgresThe  json_each or  jsonb_each function. Values returned as json or jsonb respectively. Use  to join against the result beam-postgresLike #, but returning text values instead beam-postgresThe json_object_keys and jsonb_object_keys function. Use  to join against the result. beam-postgresThe json_array_elements and jsonb_array_elements function. Use  to join against the result beam-postgresLike , but returning the values as  beam-postgresThe  json_typeof or  jsonb_typeof function beam-postgresThe json_strip_nulls or jsonb_strip_nulls function. beam-postgresThe json_agg or  jsonb_agg aggregate. beam-postgresThe json_object_agg or jsonb_object_agg. The first argument gives the key source and the second the corresponding values. beam-postgresOutput row of  and  beam-postgresOutput row of  beam-postgres"Key-value pair, used as output of  and  beam-postgres The Postgres JSONB type, which stores JSON-encoded data in a postgres-specific binary format. Like , the type parameter indicates the Haskell type which the JSON encodes.;Fields with this type are automatically given the Postgres JSONB type beam-postgres The Postgres JSON type, which stores textual values that represent JSON objects. The type parameter indicates the Haskell type which the JSON encodes. This type must be a member of  and  in order for deserialization and serialization to work as expected.The defaultMigratableDbSettings. function automatically assigns the postgres JSON type to fields with this type. beam-postgresA class representing Postgres Range types and how to refer to them when speaking to the database.For custom Range types, create an uninhabited type, and make it an instance of this class. beam-postgres$The range type name in the database. beam-postgres0A range of a given Haskell type (represented by a9) stored as a given Postgres Range Type (represented by n).A reasonable example might be Range PgInt8Range Int64&. This represents a range of Haskell Int64 values stored as a range of  in Postgres. beam-postgresRepresents a single bound on a Range. A bound always has a type, but may not have a value (the absense of a value represents unbounded). beam-postgresRepresents the types of bounds a range can have. A range can and often does have mis-matched bound types. beam-postgresIf you are extending beam-postgres and provide another expression context that can be represented in an array, provide an empty instance of this class. beam-postgresAn expression context that determines which types of expressions can be put inside an array element. Any scalar, aggregate, or window expression can be placed within an array. beam-postgres:A query that can be run against a document contained in a .-When this field is embedded in a beam table, defaultMigratableDbSettings$ will give the column the postgres TSVECTOR type beam-postgres7The identifier of a Postgres text search configuration.Use the . instance to construct new values of this type beam-postgresThe type of a document preprocessed for full-text search. The contained ' is the Postgres representation of the TSVECTOR type. Use , to construct these on-the-fly from strings.-When this field is embedded in a beam table, defaultMigratableDbSettings$ will give the column the postgres TSVECTOR type. beam-postgres Postgres NOW()) function. Returns the server's timestamp beam-postgres Postgres ILIKE) operator. A case-insensitive version of . beam-postgres Postgres ILIKE) operator. A case-insensitive version of . beam-postgresA full-text search configuration with sensible defaults for english beam-postgres The Postgres  to_tsvector9 function. Given a configuration and string, return the TSVECTOR, that represents the contents of the string. beam-postgresDetermine if the given TSQUERY* matches the document represented by the TSVECTOR. Behaves exactly like the similarly-named operator in postgres. beam-postgres The Postgres  to_tsquery9 function. Given a configuration and string, return the TSQUERY, that represents the contents of the string. beam-postgres3Index into the given array. This translates to the  array[ index] syntax in postgres. The beam operator name has been chosen to match the 'Data.Vector.(!)' operator. beam-postgres Postgres  array_dims() function. Returns a textual representation of the dimensions of the array. beam-postgresReturn the upper or lower bound of the given array at the given dimension (statically supplied as a type application on a ). Note that beam will attempt to statically determine if the dimension is in range. GHC errors will be thrown if this cannot be proved.For example, to get the upper bound of the 2nd-dimension of an array: &arrayUpper_ @2 vectorValuedExpression  beam-postgresReturn the upper or lower bound of the given array at the given dimension (statically supplied as a type application on a ). Note that beam will attempt to statically determine if the dimension is in range. GHC errors will be thrown if this cannot be proved.For example, to get the upper bound of the 2nd-dimension of an array: &arrayUpper_ @2 vectorValuedExpression  beam-postgresThese functions can be used to find the lower and upper bounds of an array where the dimension number is not known until run-time. They are marked unsafe because they may cause query processing to fail at runtime, even if they typecheck successfully. beam-postgresThese functions can be used to find the lower and upper bounds of an array where the dimension number is not known until run-time. They are marked unsafe because they may cause query processing to fail at runtime, even if they typecheck successfully. beam-postgresGet the size of the array at the given (statically known) dimension, provided as a type-level  . Like the  and  functions,throws a compile-time error if the dimension is out of bounds. beam-postgresGet the size of an array at a dimension not known until run-time. Marked unsafe as this may cause runtime errors even if it type checks. beam-postgres The Postgres @> operator. Returns true if every member of the second array is present in the first. beam-postgres The Postgres <@ operator. Returns true if every member of the first array is present in the second. beam-postgres Postgres ||= operator. Concatenates two vectors and returns their result. beam-postgres7Build a 1-dimensional postgres array from an arbitrary  containing expressions. beam-postgres4Build a 1-dimensional postgres array from a subquery beam-postgresThe postgres range operator - . beam-postgres Postgres @> and <@ operators for JSON. Return true if the json object pointed to by the arrow is completely contained in the other. See the Postgres documentation for more in formation on what this means. beam-postgres Postgres @> and <@ operators for JSON. Return true if the json object pointed to by the arrow is completely contained in the other. See the Postgres documentation for more in formation on what this means. beam-postgres:Access a JSON array by index. Corresponds to the Postgres -> operator. See 2 for the corresponding operator for object access. beam-postgres8Acces a JSON object by key. Corresponds to the Postgres -> operator. See + for the corresponding operator for arrays. beam-postgresAccess a JSON array by index, returning the embedded object as a string. Corresponds to the Postgres ->> operator. See , for the corresponding operator on objects. beam-postgresAccess a JSON object by key, returning the embedded object as a string. Corresponds to the Postgres ->> operator. See + for the corresponding operator on arrays. beam-postgresAccess a deeply nested JSON object. The first argument is the JSON object to look within, the second is the path of keys from the first argument to the target. Returns the result as a new json value. Note that the postgres function allows etiher string keys or integer indices, but this function only allows string keys. PRs to improve this functionality are welcome. beam-postgresLike $ but returns the result as a string. beam-postgres Postgres ? operator. Checks if the given string exists as top-level key of the json object. beam-postgres Postgres ?| and ?& operators. Check if any or all of the given strings exist as top-level keys of the json object respectively. beam-postgres Postgres ?| and ?& operators. Check if any or all of the given strings exist as top-level keys of the json object respectively. beam-postgres Postgres - operator on json objects. Returns the supplied json object with the supplied key deleted. See + for the corresponding operator on arrays. beam-postgres Postgres - operator on json arrays. See , for the corresponding operator on objects. beam-postgres Postgres #- operator. Removes all the keys specificied from the JSON object and returns the result. beam-postgres Postgres json_array_length function. The supplied json object should be an array, but this isn't checked at compile-time. beam-postgres Postgres  array_to_json function. beam-postgres The postgres  jsonb_set function.  pgJsonUpdate expects the value specified by the path in the second argument to exist. If it does not, the first argument is not modified.  will create any intermediate objects necessary. This corresponds to the create_missing argument of  jsonb_set) being set to false or true respectively. beam-postgres The postgres  jsonb_set function.  pgJsonUpdate expects the value specified by the path in the second argument to exist. If it does not, the first argument is not modified.  will create any intermediate objects necessary. This corresponds to the create_missing argument of  jsonb_set) being set to false or true respectively. beam-postgres Postgres  jsonb_pretty function beam-postgres>An aggregate that adds each value to the resulting array. See  pgArrayOver if you want to specify a quantifier. Corresponds to the Postgres  ARRAY_AGG function. beam-postgres Postgres  ARRAY_AGG with an explicit quantifier. Includes each row that meets the quantification criteria in the result. beam-postgres Postgres bool_or5 aggregate. Returns true if any of the rows are true. beam-postgres Postgres bool_and3 aggregate. Returns false unless every row is true. beam-postgresJoins the string value in each row of the first argument, using the second argument as a delimiter. See 1 if you want to provide explicit quantification. beam-postgres The Postgres  string_agg function, with an explicit quantifier. Joins the values of the second argument using the delimiter given by the third. beam-postgresModify a query to only return rows where the supplied key function returns a unique value. This corresponds to the Postgres  DISTINCT ON support. beam-postgres,Attempt to pack a floating point value as a  value, paying no attention to the locale-dependent currency symbol, digit grouping, or decimal point. This will use the .! symbol as the decimal separator. beam-postgres Multiply a MONEY8 value by a numeric value. Corresponds to the Postgres * operator. beam-postgres Divide a MONEY3 value by a numeric value. Corresponds to Postgres / where the numerator has type MONEY and the denominator is a number. If you would like to divide two MONEY. values and have their units cancel out, use . beam-postgres Dividing two MONEY4 value results in a number. Corresponds to Postgres / on two MONEY% values. If you would like to divide MONEY by a scalar, use  beam-postgres Postgres + and - operators on money. beam-postgres Postgres + and - operators on money. beam-postgres The Postgres MONEY type can be summed or averaged in an aggregation. These functions provide the quantified aggregations. See  and  for the unquantified versions. beam-postgres The Postgres MONEY type can be summed or averaged in an aggregation. These functions provide the quantified aggregations. See  and  for the unquantified versions. beam-postgres The Postgres MONEY type can be summed or averaged in an aggregation. To provide an explicit quantification, see  and . beam-postgres The Postgres MONEY type can be summed or averaged in an aggregation. To provide an explicit quantification, see  and . beam-postgresConvert a string valued expression (which could be generated dynamically) into a  -typed one. beam-postgres(Match regular expression, case-sensitive beam-postgres*Match regular expression, case-insensitive beam-postgres1Does not match regular expression, case-sensitive beam-postgres3Does not match regular expression, case-insensitive beam-postgres Postgres regexp_replace. Replaces all instances of the regex in the first argument with the third argument. The fourth argument is the postgres regex options to provide. beam-postgres Postgres  regexp_match. Matches the regular expression against the string given and returns an array where each element corresponds to a match in the string, or NULL if nothing was found beam-postgres Postgres regexp_split_to_array. Splits the given string by the given regex and returns the result as an array. beam-postgres Postgres regexp_split_to_table. Splits the given string by the given regex and return a result set that can be joined against. beam-postgres>Join the results of the given set-valued function to the query beam-postgres,Introduce each element of the array as a row beam-postgresIntroduce each element of the array as a row, along with the element's index beam-postgresLower bound type beam-postgresUpper bound type beam-postgres. Lower bound value beam-postgres. Upper bound valueNone '(238>?p] beam-postgresThe most general kind of DELETE that postgres can performYou can build this from a  by using  'delete tbl where `returning` projectionRun the result with  beam-postgresThe most general kind of UPDATE that postgres can performYou can build this from a  by using  'update tbl where `returning` projectionRun the result with  beam-postgresWhat to do when an INSERT( statement inserts a row into the table tbl that violates a constraint. beam-postgresThe most general kind of INSERT that postgres can perform beam-postgresCombines the result of a query along with a set of locked tables. Used as a return value for the  function. beam-postgresAn explicit lock against some tables. You can create a value of this type using the  function. You can combine these values monoidally to combine multiple locks for use with the  function. beam-postgres Use with * to lock all tables mentioned in the query beam-postgresReturn and lock the given tables. Typically used as an infix operator. See the  https://haskell-beam.github.io/beam/user-guide/backends/beam-postgres/the user guide for usage examples beam-postgres:Join with a table while locking it explicitly. Provides a  value that can be used with % to explicitly lock a table during a SELECT statement beam-postgresLock some tables during the execution of a query. This is rather complicated, and there are several usage examples in https://haskell-beam.github.io/beam/user-guide/backends/beam-postgres/the user guideThe Postgres locking clause is rather complex, and beam currently does not check several pre-conditions. It is assumed you kinda know what you're doing.4Things which postgres doesn't like, but beam will do9Using aggregates within a query that has a locking clauseUsing UNION,  INTERSECT, or EXCEPTSee  https://www.postgresql.org/docs/10/static/sql-select.html#SQL-FOR-UPDATE-SHAREhere for more details.*This function accepts a locking strength (UPDATE, SHARE,  KEY SHARE%, etc), an optional locking option (NOWAIT or  SKIP LOCKED), and a query whose rows to lock. The query should return its result wrapped in  , via the  or  function.If you want to use the most common behavior (lock all rows in every table mentioned), the # function may be what you're after. beam-postgresLike , but does not require an explicit set of locked tables. This produces an empty  FOR .. OF clause. beam-postgres The Postgres DEFAULT VALUES clause for the INSERT command. beam-postgresA  beam-postgres-specific version of  >, which provides fuller support for the much richer Postgres INSERT% syntax. This allows you to specify  ON CONFLICT/ actions. For even more complete support, see . beam-postgresThe full Postgres INSERT. syntax, supporting conflict actions and the RETURNING CLAUSE. See 2 for how to specify a conflict action or provide ' to preserve the behavior without any  ON CONFLICT clause. The last argument takes a newly inserted row and returns the expression to be returned as part of the  RETURNING clause. For a backend-agnostic version of this functionality see . Use runInsertReturning to get the results. beam-postgres Postgres  LATERAL JOIN support=Allows the use of variables introduced on the left side of a JOIN$ to be used on the right hand side.Because of the default scoping rules, we can't use the typical monadic bind (>>= ) operator to create this join. Instead,  takes two arguments. The first is the left hand side of the JOIN. The second is a function that takes the result of the first join and uses those variables to create the right hand side.For example, to join table A with a subquery that returns the first three rows in B which matches a column in A, ordered by another column in B: lateral_ (_tableA database) $ \tblA -> limit_ 3 $ ordering_ (\(_, b) -> asc_ (_bField2 b)) $ do b <- _tableB database guard_ (_bField1 b ==. _aField1 a) pure (a, b0 beam-postgresBy default, Postgres will throw an error when a conflict is detected. This preserves that functionality. beam-postgres Tells postgres what to do on an INSERT conflict. The first argument is the type of conflict to provide an action for. For example, to only provide an action for certain fields, use . Or to only provide an action over certain fields where a particular condition is met, use >. If you have a particular constraint violation in mind, use -. To perform an action on any conflict, use . See the  >https://www.postgresql.org/docs/current/static/sql-insert.htmlPostgres documentation. beam-postgresPerform the action only if the given named constraint is violated beam-postgres Postgres UPDATE ... RETURNING statement support. The last argument takes the newly inserted row and returns the values to be returned. Use runUpdateReturning to get the results. beam-postgres Postgres DELETE ... RETURNING statement support. The last argument takes the newly inserted row and returns the values to be returned. Use runDeleteReturning to get the results.4 abcdefgh4defghabc  None '(238>?|  beam-postgresPostgres-specific database predicate asserting the existence of an extension in the database. The  properly provides CREATE EXTENSION and DROP EXTENSION$ statements to the migration finder. beam-postgres2Type class implemented by any Postgresql extension beam-postgresReturn the name of this extension. This should be the string that is passed to CREATE EXTENSION. For example, PgCrypto returns  "pgcrypto". beam-postgresReturn a value of this extension type. This should fill in all fields in the record. For example, PgCrypto builds a record where each function wraps the underlying Postgres one. beam-postgres&Represents an extension in a database.For example, to include the Database.Beam.Postgres.PgCrypto extension in a database, import Database.Beam.Postgres.PgCrypto data MyDatabase entity = MyDatabase { _table1 :: entity (TableEntity Table1) , _cryptoExtension :: entity (PgExtensionEntity PgCrypto) } migratableDbSettings :: CheckedDatabaseSettings Postgres MyDatabase migratableDbSettings = defaultMigratableDbSettings dbSettings :: DatabaseSettings Postgres MyDatabase dbSettings = unCheckDatabase migratableDbSettings -Note that our database now only works in the  backend.Extensions are implemented as records of functions and values that expose extension functionality. For example, the pgcrypto extension (implemented by PgCrypto*) provides cryptographic functions. Thus, PgCrypto is a record of functions over 3 which wrap the underlying postgres functionality.You get access to these functions by retrieving them from the entity in the database.For example, to use the pgcrypto! extension in the database above: let PgCrypto { pgCryptoDigestText = digestText , pgCryptoCrypt = crypt } = getPgExtension (_cryptoExtension dbSettings) in fmap_ (tbl -> (tbl, crypt (_field1 tbl) (_salt tbl))) (all_ (table1 dbSettings)) To implement your own extension, create a record type, and implement the  type class. beam-postgresGet the extension record from a database entity. See the documentation for . beam-postgres representing the Postgres CREATE EXTENSION command. Because the extension name is statically known by the extension type and  type class, this simply produces the checked extension entity.If you need to use the extension in subsequent migration steps, use  and " to get access to the underlying . beam-postgres representing the Postgres DROP EXTENSION. After this executes, you should expect any further uses of the extension to fail. Unfortunately, without linear types, we cannot check this. beam-postgres4There are no fields to rename when defining entitiesNone '(238:>?}  *+*+ None '(-2358>? beam-postgres in which we can run Postgres commands. See the documentation for  on examples of how to use. beam-postgres; also provides functions that let you run queries without . These functions may be more efficient and offer a conduit API. See Database.Beam.Postgres.Conduit for more information. beam-postgres for the standard  postgresql: URI scheme. See the postgres documentation for more details on the formatting. See documentation for 2 for more information on how to use this with beamNone '(/238>?S beam-postgres'Top-level migration backend for use by  beam-migrate tools beam-postgresBeamDeserializers for postgres-specific types:  beam-postgresConverts postgres DatabasePredicates to DatabasePredicates in the Haskell syntax. Allows automatic generation of Haskell schemas from postgres constraints. beam-postgresTurn a Q into the corresponding . This is a best effort guess, and may fail on more exotic types. Feel free to send PRs to make this function more robust! beam-postgresTurn a series of  into a line-by-line array of #s suitable for writing to a script. beam-postgres!Write the migration given by the  to a file. beam-postgres for tsquery. See  for more information beam-postgres for tsvector. See  for more information beam-postgres for Postgres TEXT. characterLargeObject" is also mapped to this data type beam-postgres for Postgres BYTEA. binaryLargeObject" is also mapped to this data type beam-postgres) for a Postgres array without any bounds.Note that array support in  beam-migrate is still incomplete. beam-postgres for JSON. See  for more information beam-postgres for JSONB. See  for more information beam-postgres for UUID columns. The pgCryptoGenRandomUUID function in the PgCrypto3 extension can be used to generate UUIDs at random. beam-postgres for MONEY columns. beam-postgres Postgres SERIAL5 data types. Automatically generates an appropriate DEFAULT clause and sequence beam-postgres Postgres SERIAL5 data types. Automatically generates an appropriate DEFAULT clause and sequence beam-postgres Postgres SERIAL5 data types. Automatically generates an appropriate DEFAULT clause and sequenceNone '(.238>? beam-postgresType class for Sql* types that can be turned into Postgres syntax, for use in the following debugging functions These includeNone %'(238>? beam-postgresRun a PostgreSQL SELECT statement in any . beam-postgresRun a PostgreSQL SELECT statement in any . beam-postgresRun a PostgreSQL INSERT statement in any '. Returns the number of rows affected. beam-postgresRun a PostgreSQL INSERT ... RETURNING ... statement in any  and get a  of the newly inserted rows. beam-postgresRun a PostgreSQL INSERT ... RETURNING ... statement in any  and get a  of the newly inserted rows. beam-postgresRun a PostgreSQL UPDATE statement in any '. Returns the number of rows affected. beam-postgresRun a PostgreSQL UPDATE ... RETURNING ... statement in any  and get a  of the newly updated rows. beam-postgresRun a PostgreSQL UPDATE ... RETURNING ... statement in any  and get a  of the newly updated rows. beam-postgresRun a PostgreSQL DELETE statement in any '. Returns the number of rows affected. beam-postgresRun a PostgreSQl DELETE ... RETURNING ... statement in any  and get a  of the deleted rows. beam-postgresRun a PostgreSQl DELETE ... RETURNING ... statement in any  and get a  of the deleted rows. beam-postgres9Run any DML statement. Return the number of rows affected beam-postgres+Runs any query that returns a set of values beam-postgres+Runs any query that returns a set of valuesNone '(238>?"! )('&%$#"! )('&%$#None '(238>?@None '(238>? beam-postgres4Data type representing definitions contained in the pgcrypto extension*Each field maps closely to the underlying pgcrypto: function, which are described in further detail in the  ? beam-postgres4Data type representing definitions contained in the  uuid-ossp extension   !"#$%#$&#$'#$(#$)#$*#$+#$,#$-#./#.0#.1#.2#.3#.4#.5#.6#.7#.8#.9#.9#.:#.;#.<#.=#.>#.?#.?@@AABCCDEEFGGHIIJKKLMMNOPPQRSSTUUVWXXYZ[[\]^__`aabbcdefghijklmnoopqrsstuvvwxxyzz{||}~~                                                                                                                                                                                                     +beam-postgres-0.5.2.0-5pK2HKsuV6omfCSwkb4IgDatabase.Beam.Postgres.Full"Database.Beam.Postgres.CustomTypesDatabase.Beam.PostgresDatabase.Beam.Postgres.SyntaxDatabase.Beam.Postgres.MigrateDatabase.Beam.Postgres.ConduitDatabase.Beam.Postgres.PgCrypto*Database.Beam.Postgres.Extensions.UuidOsspDatabase.Beam.Postgres.Types!Database.Beam.Postgres.PgSpecificDatabase.Beam.Queryinsert!Database.Beam.Postgres.Extensions!Database.Beam.Postgres.ConnectionDatabase.Beam.Postgres.Debug*Database.Beam.Postgres.Extensions.Internal(beam-core-0.9.2.0-A6XyHOIylzT37MghU5cGAy(Database.Beam.Backend.SQL.BeamExtensionsonConflictUpdateAllonConflictUpdateInsteadonConflictUpdateSetWhereonConflictUpdateSetonConflictDoNothingconflictingFieldsWhereconflictingFields anyConflictinsertOnConflictSqlConflictActionSqlConflictTargetBeamHasInsertOnConflictDatabase.Beam.Backend.SQL.SQL92HasSqlValueSyntaxDatabase.Beam.Backend.SQL.RowFromBackendRow.postgresql-simple-0.6.4-KnRgWMcKZBvD4uDAyWjO5K$Database.PostgreSQL.Simple.FromField errMessageerrHaskellType errSQLFielderrSQLTableOid errSQLTypeConversionFailedUnexpectedNull Incompatible ResultError#Database.PostgreSQL.Simple.InternalcloseconnectPostgreSQLconnectdefaultConnectInfo Connection sqlErrorHintsqlErrorDetail sqlErrorMsg sqlExecStatussqlStateSqlErrorconnectDatabaseconnectPassword connectUser connectPort connectHost ConnectInfo PgHasEnumPgWindowFrameBoundSyntaxfromPgWindowFrameBoundPgWindowFrameBoundsSyntaxfromPgWindowFrameBoundsPgWindowFrameSyntaxfromPgWindowFramePgAlterColumnActionSyntaxfromPgAlterColumnActionPgAlterTableActionSyntaxfromPgAlterTableActionPgAlterTableSyntaxfromPgAlterTablePgReferentialActionSyntaxfromPgReferentialActionpgReferentialActionSerializedPgMatchTypeSyntaxfromPgMatchTypepgMatchTypeSerializedPgTableConstraintSyntaxfromPgTableConstraintPgColumnConstraintSyntaxfromPgColumnConstraintpgColumnConstraintSerialized"PgColumnConstraintDefinitionSyntax fromPgColumnConstraintDefinition&pgColumnConstraintDefinitionSerializedPgDataTypeSyntaxpgDataTypeDescrfromPgDataTypepgDataTypeSerializedPgColumnSchemaSyntaxfromPgColumnSchemaPgTableOptionsSyntaxPgCreateTableSyntaxfromPgCreateTablePgDataTypeDescrPgDataTypeDescrOidPgDataTypeDescrDomainPgSelectLockingOptionsPgSelectLockingOptionsNoWait PgSelectLockingOptionsSkipLockedPgSelectLockingStrengthPgSelectLockingStrengthUpdate"PgSelectLockingStrengthNoKeyUpdatePgSelectLockingStrengthSharePgSelectLockingStrengthKeySharePgSelectLockingClauseSyntaxpgSelectLockingClauseStrengthpgSelectLockingTablespgSelectLockingClauseOptionsPgOrderingSyntaxpgOrderingSyntaxpgOrderingNullOrderingPgConflictActionSyntaxfromPgConflictActionPgInsertOnConflictTargetSyntaxfromPgInsertOnConflictTargetPgInsertOnConflictSyntaxfromPgInsertOnConflictPgInsertValuesSyntaxfromPgInsertValuesPgFieldNameSyntaxfromPgFieldNamePgTableSourceSyntaxfromPgTableSource PgValueSyntax fromPgValuePgGroupingSyntaxfromPgGroupingPgProjectionSyntaxfromPgProjectionPgExtractFieldSyntaxfromPgExtractFieldPgComparisonQuantifierSyntaxfromPgComparisonQuantifierPgTableNameSyntaxfromPgTableName PgFromSyntax fromPgFromPgSelectSetQuantifierSyntaxfromPgSelectSetQuantifier PgAggregationSetQuantifierSyntaxfromPgAggregationSetQuantifierPgExpressionSyntaxfromPgExpressionPgUpdateSyntax fromPgUpdatePgDeleteSyntax fromPgDeletePgInsertSyntax fromPgInsertPgSelectSyntax fromPgSelectPgCommandSyntax pgCommandType fromPgCommand PgCommandTypePgCommandTypeQueryPgCommandTypeDdlPgCommandTypeDataUpdate PgCommandTypeDataUpdateReturningPgSyntax buildPgSyntax PgSyntaxM PgSyntaxFEmitByteString EmitBuilder EscapeString EscapeByteaEscapeIdentifierPostgresInaccessibleemit emitBuilder escapeString escapeByteaescapeIdentifiernextSyntaxStepfromPgSelectLockingClausepgDataTypeJSON pgByteaTypepgSmallSerialType pgSerialTypepgBigSerialType pgPointType pgLineTypepgLineSegmentType pgBoxTypepgUnboundedArrayTypepgTsQueryTypeInfo pgTsQueryTypepgTsVectorTypeInfopgTsVectorType pgTextType pgJsonType pgJsonbType pgUuidType pgMoneyTypepgSelectSetQuantifierDistinctOnpgSimpleMatchSyntaxdefaultPgValueSyntaxpgQuotedIdentifierpgParenspgCompOppgBinOp pgPostFixpgUnOppgSepBypgDebugRenderSyntax pgBuildAction pgSelectStmtpgCreateExtensionSyntaxpgDropExtensionSyntaxpgCreateEnumSyntaxpgDropTypeSyntax pgTestSyntaxpgRenderSyntaxScript $fEqPgSyntaxF$fEq1PgSyntaxF$fShowPgSyntax $fEqPgSyntax$fMonoidPgSyntax$fSemigroupPgSyntax$fSql92DisplaySyntaxPgSyntax$fHashablePgSyntax$fIsSql92SyntaxPgCommandSyntax6$fIsSql99AggregationExpressionSyntaxPgExpressionSyntax5$fIsSql2003NthValueExpressionSyntaxPgExpressionSyntax$fIsSql2003FirstValueAndLastValueExpressionSyntaxPgExpressionSyntax7$fIsSql2003LeadAndLagExpressionSyntaxPgExpressionSyntax2$fIsSql2003NtileExpressionSyntaxPgExpressionSyntax$fIsSql2003EnhancedNumericFunctionsAggregationExpressionSyntaxPgExpressionSyntax$fIsSql2003ExpressionElementaryOLAPOperationsSyntaxPgExpressionSyntax$fIsSql2003ExpressionAdvancedOLAPOperationsSyntaxPgExpressionSyntax$fIsSql2003EnhancedNumericFunctionsExpressionSyntaxPgExpressionSyntax1$fIsSql99ConcatExpressionSyntaxPgExpressionSyntax+$fIsSql99ExpressionSyntaxPgExpressionSyntax3$fIsSql99FunctionExpressionSyntaxPgExpressionSyntax$fIsStringCustomSqlSyntax$fSemigroupCustomSqlSyntax%$fIsCustomSqlSyntaxPgExpressionSyntax$fIsSql92AggregationSetQuantifierSyntaxPgAggregationSetQuantifierSyntax6$fIsSql92AggregationExpressionSyntaxPgExpressionSyntax$fIsSql92AggregationSetQuantifierSyntaxPgSelectSetQuantifierSyntax($fIsSql92FromOuterJoinSyntaxPgFromSyntax#$fIsSql92DeleteSyntaxPgDeleteSyntax)$fIsSql92TableNameSyntaxPgTableNameSyntax5$fIsSql92QuantifierSyntaxPgComparisonQuantifierSyntax/$fIsSql92ExtractFieldSyntaxPgExtractFieldSyntax+$fIsSql92ProjectionSyntaxPgProjectionSyntax'$fIsSql92GroupingSyntaxPgGroupingSyntax-$fIsSql92SelectTableSyntaxPgSelectTableSyntax$$fHasSqlValueSyntaxPgValueSyntaxWord#$fHasSqlValueSyntaxPgValueSyntaxInt&$fHasSqlValueSyntaxPgValueSyntaxVector$$fHasSqlValueSyntaxPgValueSyntaxUUID*$fHasSqlValueSyntaxPgValueSyntaxByteString+$fHasSqlValueSyntaxPgValueSyntaxByteString0%$fHasSqlValueSyntaxPgValueSyntaxMaybe'$fHasSqlValueSyntaxPgValueSyntaxSqlNull"$fHasSqlValueSyntaxPgValueSyntaxCI#$fHasSqlValueSyntaxPgValueSyntaxCI0*$fHasSqlValueSyntaxPgValueSyntaxScientific)$fHasSqlValueSyntaxPgValueSyntaxUnbounded*$fHasSqlValueSyntaxPgValueSyntaxUnbounded0*$fHasSqlValueSyntaxPgValueSyntaxUnbounded1-$fHasSqlValueSyntaxPgValueSyntaxHStoreBuilder*$fHasSqlValueSyntaxPgValueSyntaxHStoreList)$fHasSqlValueSyntaxPgValueSyntaxHStoreMap"$fHasSqlValueSyntaxPgValueSyntax[]#$fHasSqlValueSyntaxPgValueSyntaxDay/$fHasSqlValueSyntaxPgValueSyntaxNominalDiffTime)$fHasSqlValueSyntaxPgValueSyntaxTimeOfDay'$fHasSqlValueSyntaxPgValueSyntaxUTCTime)$fHasSqlValueSyntaxPgValueSyntaxLocalTime#$fHasSqlValueSyntaxPgValueSyntaxOid%$fHasSqlValueSyntaxPgValueSyntaxValue$$fHasSqlValueSyntaxPgValueSyntaxText%$fHasSqlValueSyntaxPgValueSyntaxText0&$fHasSqlValueSyntaxPgValueSyntaxWord64&$fHasSqlValueSyntaxPgValueSyntaxWord32&$fHasSqlValueSyntaxPgValueSyntaxWord16%$fHasSqlValueSyntaxPgValueSyntaxWord8'$fHasSqlValueSyntaxPgValueSyntaxInteger%$fHasSqlValueSyntaxPgValueSyntaxInt64%$fHasSqlValueSyntaxPgValueSyntaxInt32%$fHasSqlValueSyntaxPgValueSyntaxInt16$$fHasSqlValueSyntaxPgValueSyntaxInt8%$fHasSqlValueSyntaxPgValueSyntaxFloat&$fHasSqlValueSyntaxPgValueSyntaxDouble$$fHasSqlValueSyntaxPgValueSyntaxBool-$fIsSql92TableSourceSyntaxPgTableSourceSyntax$fIsSql92FromSyntaxPgFromSyntax)$fIsSql92FieldNameSyntaxPgFieldNameSyntax#$fIsSql92UpdateSyntaxPgUpdateSyntax/$fIsSql92InsertValuesSyntaxPgInsertValuesSyntax#$fIsSql92InsertSyntaxPgInsertSyntax$fIsSql99CommonTableExpressionSyntaxPgCommonTableExpressionSyntax$fIsSql99RecursiveCommonTableExpressionSelectSyntaxPgSelectSyntax8$fIsSql99CommonTableExpressionSelectSyntaxPgSelectSyntax$fIsSql2003OrderingElementaryOLAPOperationsSyntaxPgOrderingSyntax'$fIsSql92OrderingSyntaxPgOrderingSyntax#$fIsSql92SelectSyntaxPgSelectSyntax$fHashablePgDataTypeDescr$fHashablePgColumnSchemaSyntax($fSql92DisplaySyntaxPgColumnSchemaSyntax+$fIsSql92ExpressionSyntaxPgExpressionSyntax1$fSql92SerializableDataTypeSyntaxPgDataTypeSyntax/$fIsSql2008BigIntDataTypeSyntaxPgDataTypeSyntax'$fIsSql99DataTypeSyntaxPgDataTypeSyntax'$fIsSql92DataTypeSyntaxPgDataTypeSyntax$fEqPgDataTypeSyntax$fHashablePgDataTypeSyntax$$fSql92DisplaySyntaxPgDataTypeSyntax$fSql92SerializableConstraintDefinitionSyntaxPgColumnConstraintDefinitionSyntax,$fHashablePgColumnConstraintDefinitionSyntax/$fIsSql92ColumnSchemaSyntaxPgColumnSchemaSyntax&$fEqPgColumnConstraintDefinitionSyntax6$fSql92DisplaySyntaxPgColumnConstraintDefinitionSyntax$fIsSql92ColumnConstraintDefinitionSyntaxPgColumnConstraintDefinitionSyntax5$fIsSql92TableConstraintSyntaxPgTableConstraintSyntax-$fIsSql92CreateTableSyntaxPgCreateTableSyntax)$fIsSql92MatchTypeSyntaxPgMatchTypeSyntax7$fIsSql92ColumnConstraintSyntaxPgColumnConstraintSyntax9$fIsSql92ReferentialActionSyntaxPgReferentialActionSyntax)$fIsSql92DropTableSyntaxPgDropTableSyntax($fIsSql92DdlCommandSyntaxPgCommandSyntax+$fIsSql92AlterTableSyntaxPgAlterTableSyntax9$fIsSql92AlterColumnActionSyntaxPgAlterColumnActionSyntax7$fIsSql92AlterTableActionSyntaxPgAlterTableActionSyntax-$fIsSql2003ExpressionSyntaxPgExpressionSyntax/$fIsSql2003WindowFrameSyntaxPgWindowFrameSyntax9$fIsSql2003WindowFrameBoundSyntaxPgWindowFrameBoundSyntax;$fIsSql2003WindowFrameBoundsSyntaxPgWindowFrameBoundsSyntax$fDatabasePredicatePgHasEnum$fHashablePgHasEnum)$fHasDataTypeCreatedCheckPgDataTypeSyntax$fIsStringPgSyntaxPrim$fShowPgSyntaxPrim$fShowPgEscapeType$fEqPgEscapeType$fOrdPgEscapeType$fEnumPgEscapeType$fBoundedPgEscapeType$fShowPgHasEnum $fEqPgHasEnum$fGenericPgHasEnum($fShowPgColumnConstraintDefinitionSyntax$fShowPgDataTypeSyntax$fShowPgColumnSchemaSyntax$fEqPgColumnSchemaSyntax$fShowPgDataTypeDescr$fEqPgDataTypeDescr$fGenericPgDataTypeDescr$fShowPgSelectLockingOptions$fEqPgSelectLockingOptions$fGenericPgSelectLockingOptions$fShowPgSelectLockingStrength$fEqPgSelectLockingStrength $fGenericPgSelectLockingStrength$fShowPgNullOrdering$fEqPgNullOrdering$fGenericPgNullOrdering$fMonoidCustomSqlSyntax$fEqPgExpressionSyntax$fShowPgCommandType$fFunctorPgSyntaxFPostgresfromPgScientificOrIntegralfromPgIntegralPgSetOfPgRegexPgCircle PgPolygonPgPath PgPathOpen PgPathClosedPgBox PgLineSegmentPgLinePgPointPgMoney fromPgMoneyIsPgJSON pgJsonEachpgJsonEachText pgJsonKeyspgJsonArrayElementspgJsonArrayElementsText pgJsonTypeOfpgJsonStripNulls pgJsonAggpgJsonObjectAgg PgJSONElement pgJsonElement PgJSONKey pgJsonKey PgJSONEach pgJsonEachKeypgJsonEachValuePgJSONBPgJSON PgDateRange PgTsTzRange PgTsRange PgNumRange PgInt8Range PgInt4Range PgIsRange rangeNamePgRange PgEmptyRange PgRangeBound PgBoundType Inclusive ExclusivePgIsArrayContextPgArrayValueContextTsQueryTsVectorConfigTsVectornow_ilike_ilike_'english toTsVector@@ toTsQuery!. arrayDims_ arrayUpper_ arrayLower_arrayUpperUnsafe_arrayLowerUnsafe_ arrayLength_arrayLengthUnsafe_ isSupersetOf_ isSubsetOf_++.array_arrayOf_ inclusive exclusive unbounded-@>--@>-<@-<@--&&--<<-->>--&<--&>---|---+--*--.-rLower_rUpper_isEmpty_ lowerInc_ upperInc_ lowerInf_ upperInf_ rangeMerge_range_@><@->#->$->>#->>$#>#>>??|?& withoutKey withoutIdx withoutKeyspgJsonArrayLength pgArrayToJson pgJsonbUpdate pgJsonbSet pgJsonbPretty pgArrayAggpgArrayAggOverpgBoolOr pgBoolAnd pgStringAggpgStringAggOverpgNubBy_pgMoney pgScaleMoney_pgDivideMoney_pgDivideMoneys_ pgAddMoney_pgSubtractMoney_pgSumMoneyOver_pgAvgMoneyOver_ pgSumMoney_ pgAvgMoney_pgRegex_~.~*.!~.!~*.pgRegexpReplace_pgRegexpMatch_pgRegexpSplitToArraypgRegexpSplitToTablepgUnnest pgUnnestArraypgUnnestArrayWithOrdinalitycentury_decade_dow_doy_epoch_isodow_isoyear_ microseconds_ milliseconds_ millennium_quarter_week_ PgReturningPgReturningType returningPgDeleteReturningPgUpdateReturningPgUpdateReturningEmptyPgInsertOnConflictPgInsertReturningPgInsertReturningEmpty PgWithLockingPgLockedTableslockAll_ withLocks_locked_ lockingFor_lockingAllTablesFor_insertDefaultsinsertReturningrunPgInsertReturningListlateral_onConflictDefault onConflictconflictingConstraintupdateReturningrunPgUpdateReturningListdeleteReturningrunPgDeleteReturningList!$fBeamHasInsertOnConflictPostgres-$fProjectibleWithPredicatecberesPgWithLocking$fPgReturningSqlDelete$fPgReturningSqlUpdate$fPgReturningSqlInsert$fSemigroupPgLockedTables$fMonoidPgLockedTables IsPgExtensionpgExtensionNamepgExtensionBuildPgExtensionEntitygetPgExtensionpgCreateExtensionpgDropExtensionIsPgCustomDataTypepgDataTypeNamepgDataTypeDescriptionPgDataTypeSchema PgTypeCheckPgTypepgCustomEnumSchemapgBoundedEnumSchemapgCustomEnumActionProviderpgCreateEnumActionProviderpgDropEnumActionProviderpgChecksForTypeSchema createEnumpgEnumValueSyntax pgParseEnumbeamTypeForCustomPg$fRenamableWithRuleFieldRenamer'$fIsCheckedDatabaseEntityPostgresPgType $fIsDatabaseEntityPostgresPgType$fFromFieldPgRawString#$fFromBackendRowPostgresPgRawStringPgpostgresUriSyntaxliftIOWithHandlerunBeamPostgresDebugrunBeamPostgresmigrationBackendpostgresDataTypeDeserializerspgPredConverter pgTypeToHs migrateScriptwriteMigrationScriptpgDataTypeFromAttgetDbConstraintsgetDbConstraintsForSchemastsquerytsvectortextbyteaunboundedArrayjsonjsonbuuidmoneypointline lineSegmentbox smallserialserial bigserial!$fBeamSqlBackendHasSerialPostgres*$fFieldReturnTypeFalseFalsePostgresresTy-> PgDebugStmt pgTraceStmtIOpgTraceStmtIO' pgTraceStmtstreamingRunSelect runSelect runInsertstreamingRunInsertReturningrunInsertReturning runUpdatestreamingRunUpdateReturningrunUpdateReturning runDeletestreamingRunDeleteReturningrunDeleteReturningexecuteStatementstreamingRunQueryReturningrunQueryReturningPgCryptopgCryptoDigestTextpgCryptoDigestBytespgCryptoHmacTextpgCryptoHmacBytes pgCryptoCryptpgCryptoGenSaltpgCryptoPgpSymEncryptpgCryptoPgpSymEncryptByteapgCryptoPgpSymDecryptpgCryptoPgpSymDecryptByteapgCryptoPgpPubEncryptpgCryptoPgpPubEncryptByteapgCryptoPgpPubDecryptpgCryptoPgpPubDecryptByteapgCryptoPgpKeyId pgCryptoArmorpgCryptoDearmorpgCryptoGenRandomBytespgCryptoGenRandomUUID$fIsPgExtensionPgCryptoUuidOssp pgUuidNil pgUuidNsDns pgUuidNsUrl pgUuidNsOid pgUuidNsX500pgUuidGenerateV1pgUuidGenerateV1McpgUuidGenerateV3pgUuidGenerateV4pgUuidGenerateV5$fIsPgExtensionUuidOsspIsSql92UpdateSyntaxIsSql92DeleteSyntaxIsSql92InsertSyntaxIsSql92SelectSyntaxDatabase.Beam.Backend.SQL MonadBeam(scientific-0.3.7.0-7lYlApB5NZb9iiNIHcor3Data.Scientific Scientificinteger-wired-inGHC.Integer.TypeIntegerbytestring-0.10.10.0Data.ByteString.Internal ByteString text-1.2.3.2Data.Text.InternalText$aeson-1.5.6.0-C7ejKQYG5zH3O5DnzKd34IData.Aeson.Types.FromJSONFromJSONData.Aeson.Types.ToJSONToJSONDatabase.Beam.Query.DataTypesbigintbase Data.StringIsStringDatabase.Beam.Query.Operatorlike_like_'ghc-prim GHC.TypesNat Data.FoldableFoldable SqlDelete SqlUpdateMonadBeamInsertReturningPgHasExtensionpgExtensionActionProviderDatabase.Beam.Query.InternalQGenExpr+beam-migrate-0.5.1.1-BGPxuqhAV22GcX1MXdLShgDatabase.Beam.Migrate.Types Migration+Database.Beam.Migrate.Types.CheckedEntitiesunCheckDatabase.Beam.Schema.TablesDatabaseEntityDatabaseEntityDescriptorPgDatabaseExtensionCheckedDatabaseEntityDescriptorCheckedPgExtensionpgCreateExtensionProviderpgDropExtensionProviderDatabase.Beam.Backend.URIBeamURIOpenersrunPgPgFPgLiftIOPgLiftWithHandle PgFetchNextPgRunReturningpgRenderSyntax getFieldsrunPgRowReader withPgDebugDatabase.Beam.Haskell.Syntax HsDataTypeMigrationStepsData.ByteString.Lazy.InternalDataType SqlSelect SqlInsert pgStmtSyntax(resourcet-1.2.4.3-E1RzQFMXtxGKsaeOjTDDx7%Control.Monad.Trans.Resource.Internal MonadResourceControl.Monad.IO.ClassMonadIO&conduit-1.3.4.2-KNgeX8fCUjT9mgLUa8QyD0Data.Conduit.Internal.ConduitSourceLiftPgPgExprfuncE