#2955 protonmsg: cast body to text
Merged 9 months ago by tkopecek. Opened 10 months ago by julian8628.
julian8628/koji protonmsg-json-2  into  master

file modified
+2 -1
@@ -345,7 +345,8 @@ 

          c.execute("DELETE FROM proton_queue WHERE created_ts < NOW() -'%s hours'::interval" %

                    CONFIG.getint('queue', 'age', fallback=24))

          query = QueryProcessor(tables=('proton_queue',),

-                                columns=('id', 'address', 'props', 'body'),

+                                columns=('id', 'address', 'props', 'body::TEXT'),

+                                aliases=('id', 'address', 'props', 'body'),

                                 opts={'order': 'id', 'limit': limit})

          msgs = list(query.execute())

          if not msgs:

Metadata Update from @julian8628:
- Pull-request tagged with: testing-ready

10 months ago

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

9 months ago

Commit c7f2a77 fixes this pull-request

Pull-Request has been merged by tkopecek

9 months ago