Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
postgresql-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PostgreSQL
postgresql-common
Commits
268daa99
Commit
268daa99
authored
19 years ago
by
Martin Pitt
Browse files
Options
Downloads
Patches
Plain Diff
Give a meaningful error message if no client packages are installed (#326771)
parent
88a5d082
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
postgresql-common-26/debian/changelog
+4
-1
4 additions, 1 deletion
postgresql-common-26/debian/changelog
postgresql-common-26/pg_wrapper
+2
-0
2 additions, 0 deletions
postgresql-common-26/pg_wrapper
with
6 additions
and
1 deletion
postgresql-common-26/debian/changelog
+
4
−
1
View file @
268daa99
...
...
@@ -10,8 +10,11 @@ postgresql-common (26) unstable; urgency=low
* debian/postgresql-common.postinst: Remove --no-create-home option from
adduser call to ensure that the postgres user always has a sensible home
directory that does not break "su - postgres".
* pg_wrapper: Give a meaningful error message if no client packages are
installed, instead of "Invalid PostgreSQL cluster version".
Closes: #326771
-- Martin Pitt <mpitt@debian.org>
Fri
,
2
Sep 2005
12:12
:4
5
+0200
-- Martin Pitt <mpitt@debian.org>
Mon
,
5
Sep 2005
23:07
:4
0
+0200
postgresql-common (25) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
postgresql-common-26/pg_wrapper
+
2
−
0
View file @
268daa99
...
...
@@ -52,6 +52,8 @@ if ($cluster) {
$ENV
{'
PGPORT
'}
=
"
$port
"
if
$port
;
$ENV
{'
PGDATABASE
'}
=
$db
if
$db
;
error
'
You must install at least one postgresql-client-<version> package.
'
unless
$version
;
@args
=
(
get_program_path
(
$cmd
,
$version
));
error
'
Invalid PostgreSQL cluster version
'
unless
$args
[
0
];
push
@args
,
@ARGV
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment