#2955 protonmsg: cast body to text
Merged 2 years ago by tkopecek. Opened 2 years 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

2 years ago

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

2 years ago

Commit c7f2a77 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago