Bug 1380292

Summary: 'shrink-segments' works on embedded PostgreSQL as well
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: OtherAssignee: Jiří Dostál <jdostal>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jdostal, tkasparek, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-web-2.6.4-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:11:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1358815    

Description Jan Hutař 2016-09-29 08:34:22 UTC
Description of problem:
'shrink-segments' works on embedded PostgreSQL as well


Version-Release number of selected component (if applicable):
spacewalk-dobby-2.5.2-3.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
# db-control help | grep shrink-segments
       shrink-segments - Shrink Oracle database segments of Red Hat Satellite
# spacewalk-cfg-get db_backend
postgresql
# db-control shrink-segments
WARNING: this may be a slow process.
done.
# echo $?
0


Actual results:
Help string mentions only Oracle


Expected results:
Should not be Oracle specifics


Additional info:
Created pull request:
https://github.com/spacewalkproject/spacewalk/pull/464

Comment 1 Jiří Dostál 2016-10-03 12:18:40 UTC
spacewalk.git a6517953c4018db168e59d0212e69fd2d0e61324