Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
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
Jakob Huber
postgres-lambda-diff
Commits
15a3fe6d
Commit
15a3fe6d
authored
16 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Properly mark pg_freespace() function as strict. Also update
uninstall script to match reality.
parent
5e29862a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/pg_freespacemap/pg_freespacemap.sql.in
+2
-2
2 additions, 2 deletions
contrib/pg_freespacemap/pg_freespacemap.sql.in
contrib/pg_freespacemap/uninstall_pg_freespacemap.sql
+3
-6
3 additions, 6 deletions
contrib/pg_freespacemap/uninstall_pg_freespacemap.sql
with
5 additions
and
8 deletions
contrib/pg_freespacemap/pg_freespacemap.sql.in
+
2
−
2
View file @
15a3fe6d
/* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.sql.in,v 1.1
1
200
8/10/02 12:20:50 heikki
Exp $ */
/* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.sql.in,v 1.1
2
200
9/06/10 22:12:28 tgl
Exp $ */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
...
...
@@ -8,7 +8,7 @@ SET search_path = public;
CREATE OR REPLACE FUNCTION pg_freespace(regclass, bigint)
RETURNS int2
AS 'MODULE_PATHNAME', 'pg_freespace'
LANGUAGE C;
LANGUAGE C
STRICT
;
-- pg_freespace shows the recorded space avail at each block in a relation
CREATE OR REPLACE FUNCTION
...
...
This diff is collapsed.
Click to expand it.
contrib/pg_freespacemap/uninstall_pg_freespacemap.sql
+
3
−
6
View file @
15a3fe6d
/* $PostgreSQL: pgsql/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql,v 1.
4
200
8
/0
9/30 11:17:07 heikki
Exp $ */
/* $PostgreSQL: pgsql/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql,v 1.
5
200
9
/0
6/10 22:12:28 tgl
Exp $ */
-- Adjust this setting to control where the objects get dropped.
SET
search_path
=
public
;
DROP
VIEW
pg_freespacemap_pages
;
DROP
VIEW
pg_freespacemap_relations
;
DROP
FUNCTION
pg_freespacemap_pages
();
DROP
FUNCTION
pg_freespacemap_relations
();
DROP
FUNCTION
pg_freespace
(
regclass
,
bigint
);
DROP
FUNCTION
pg_freespace
(
regclass
);
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