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
a939e974
Commit
a939e974
authored
24 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update
parent
2c591cb8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
contrib/oid2name/Makefile
+1
-1
1 addition, 1 deletion
contrib/oid2name/Makefile
contrib/oid2name/oid2name.c
+4
-4
4 additions, 4 deletions
contrib/oid2name/oid2name.c
doc/src/sgml/gist.sgml
+4
-3
4 additions, 3 deletions
doc/src/sgml/gist.sgml
with
9 additions
and
8 deletions
contrib/oid2name/Makefile
+
1
−
1
View file @
a939e974
...
...
@@ -2,7 +2,7 @@
#
subdir
=
contrib/oid2name
top_builddir
=
/pgtop/
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(
libpq_srcdir
)
...
...
This diff is collapsed.
Click to expand it.
contrib/oid2name/oid2name.c
+
4
−
4
View file @
a939e974
...
...
@@ -331,9 +331,9 @@ void sql_exec_dumptable(PGconn *conn, int systables)
/* don't exclude the systables if this is set */
if
(
systables
==
1
)
sprintf
(
todo
,
"select
oid
,relname from pg_class order by relname"
);
sprintf
(
todo
,
"select
relfilenode
,relname from pg_class order by relname"
);
else
sprintf
(
todo
,
"select
oid
,relname from pg_class where relname not like 'pg_%%' order by relname"
);
sprintf
(
todo
,
"select
relfilenode
,relname from pg_class where relname not like 'pg_%%' order by relname"
);
sql_exec
(
conn
,
todo
,
NULL
);
}
...
...
@@ -348,7 +348,7 @@ void sql_exec_searchtable(PGconn *conn, char *tablename)
todo
=
(
char
*
)
malloc
(
1024
);
/* get the oid and tablename where the name matches tablename */
sprintf
(
todo
,
"select
oid
,relname from pg_class where relname = '%s'"
,
tablename
);
sprintf
(
todo
,
"select
relfilenode
,relname from pg_class where relname = '%s'"
,
tablename
);
returnvalue
=
sql_exec
(
conn
,
todo
,
1
);
...
...
@@ -372,7 +372,7 @@ void sql_exec_searchoid(PGconn *conn, int oid)
todo
=
(
char
*
)
malloc
(
1024
);
sprintf
(
todo
,
"select
oid
,relname from pg_class where oid = %i"
,
oid
);
sprintf
(
todo
,
"select
relfilenode
,relname from pg_class where oid = %i"
,
oid
);
returnvalue
=
sql_exec
(
conn
,
todo
,
1
);
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/gist.sgml
+
4
−
3
View file @
a939e974
...
...
@@ -15,10 +15,11 @@ The information about GIST is at
<ULink url="http://GiST.CS.Berkeley.EDU:8000/gist/">http://GiST.CS.Berkeley.EDU:8000/gist/</ULink>
with more on different indexing and sorting schemes at
<ULink url="http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/">http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/</ULink>
<ULink url="http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/">http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/</ULink>
.
And there is more interesting reading at the Berkely database site at
<ULink url="http://epoch.cs.berkeley.edu:8000/">http://epoch.cs.berkeley.edu:8000/</ULink>.
And there is more interesting reading at
<ULink url="http://epoch.cs.berkeley.edu:8000/">http://epoch.cs.berkeley.edu:8000/</ULink> and
<ULink url="http://www.sai.msu.su/~megera/postgres/gist/">http://www.sai.msu.su/~megera/postgres/gist/</ULink>.
</para>
<Para>
...
...
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