Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87596 Details for
Bug 134168
dev-db/postgresql: SQL injection
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
8.1.4 init
postgresql.init-8.1.4 (text/plain), 1.14 KB, created by
John Jay
on 2006-05-26 15:29:04 UTC
(
hide
)
Description:
8.1.4 init
Filename:
MIME Type:
Creator:
John Jay
Created:
2006-05-26 15:29:04 UTC
Size:
1.14 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >opts="${opts} reload" > >depend() { > use net >} > >checkconfig() { > if [ ! -d $PGDATA ]; then > eerror "directory not found: $PGDATA" > eerror "You should create PGDATA directory first." > return 1 > fi >} > >start() { > checkconfig || return 1 > > ebegin "Starting PostgreSQL" > if [ -f $PGDATA/postmaster.pid ]; then > rm $PGDATA/postmaster.pid > fi > su - $PGUSER -c "/usr/bin/pg_ctl start -D '$PGDATA' -s -l '$PGLOG' -o '$PGOPTS'" > > while : > do > cnt=$(($cnt + 1)) > if [ -f "$PGDATA/postmaster.pid" ]; then > ret=0 > break > fi > > if [ $cnt -eq 30 ]; then > eerror "Please see log file: $PGLOG" > ret=1 > break > fi > sleep 1 > done > eend $ret >} > >stop() { > ebegin "Stopping PostgreSQL" > su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast" > eend $? >} > >svc_restart() { > ebegin "Restarting PostgreSQL" > su - $PGUSER -c "/usr/bin/pg_ctl restart -D '$PGDATA' -s -m fast -l '$PGLOG' -o '$PGOPTS'" > eend $? >} > >reload() { > ebegin "Reloading PostgreSQL configuration" > su - $PGUSER -c "/usr/bin/pg_ctl reload -D '$PGDATA' -s" > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 134168
:
87591
|
87594
|
87595
| 87596 |
87597
|
87598
|
87599
|
87600