You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pg_reorg can re-organize tables on a postgres database without any locks so that you can retrieve or update rows in tables being reorganized. The module is developed to be a better alternative of CLUSTER and VACUUM FULL.
19
+
20
+
%prep
21
+
rm -rf %{_libdir}/pgsql/pgxs/src/backend/
22
+
rm -rf %{_builddir}/src
23
+
rm -rf %{_builddir}/%{sname}
24
+
25
+
%setup -n %{sname}
26
+
27
+
%build
28
+
USE_PGXS=1 make %{?_smp_mflags}
29
+
30
+
%install
31
+
rm -rf %{buildroot}
32
+
USE_PGXS=1 make DESTDIR=%{buildroot} install
33
+
34
+
%define pg_sharedir
35
+
36
+
37
+
%files
38
+
%defattr(755,root,root,755)
39
+
%{_bindir}/pg_reorg
40
+
%{_libdir}/pgsql/pg_reorg.so
41
+
%defattr(644,root,root,755)
42
+
%{_datadir}/pgsql/contrib/pg_reorg.sql
43
+
%{_datadir}/pgsql/contrib/uninstall_pg_reorg.sql
44
+
45
+
%clean
46
+
rm -rf %{buildroot}
47
+
rm -rf %{_libdir}/pgsql/pgxs/src/backend/
48
+
49
+
%changelog
50
+
* Mon Jan 15 2010- Toru SHIMOGAKI<shimogaki.toru@oss.ntt.co.jp>1.0.8-1
0 commit comments