// prepQue ensures that the que table exists and que's prepared statements are // run. It is meant to be used in a pgx.ConnPool's AfterConnect hook. func prepQue(conn *pgx.Conn) error { _, err := conn.Exec(QueTableSQL) if err != nil { return err } return que.PrepareStatements(conn) }