map-patch-to-bugs-postgresql.xql

DB Query file

Related Files

[ hide source ] | [ make this the default ]

File Contents

<?xml version="1.0"?>

<queryset>
   <rdbms><type>postgresql</type><version>7.1</version></rdbms>

<fullquery name="select_open_bugs">
      <querytext>
select bt_bugs.bug_number,
                bt_bugs.summary,
                to_char(acs_objects.creation_date, 'YYYY-MM-DD HH24:MI:SS') as creation_date_pretty                
                from bt_bugs, acs_objects, workflow_cases cas, workflow_case_fsm cfsm
                where bt_bugs.bug_id = acs_objects.object_id
                 and  $sql_where_clause
               order by acs_objects.creation_date desc
               limit $interval_size offset $offset
      </querytext>
</fullquery>


</queryset>