Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita939e97

Browse files
committed
Update
1 parent2c591cb commita939e97

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

‎contrib/oid2name/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33

44
subdir = contrib/oid2name
5-
top_builddir =/pgtop/
5+
top_builddir =../..
66
include$(top_builddir)/src/Makefile.global
77

88
overrideCPPFLAGS += -I$(libpq_srcdir)

‎contrib/oid2name/oid2name.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ void sql_exec_dumptable(PGconn *conn, int systables)
331331

332332
/* don't exclude the systables if this is set */
333333
if(systables==1)
334-
sprintf(todo,"selectoid,relname from pg_class order by relname");
334+
sprintf(todo,"selectrelfilenode,relname from pg_class order by relname");
335335
else
336-
sprintf(todo,"selectoid,relname from pg_class where relname not like 'pg_%%' order by relname");
336+
sprintf(todo,"selectrelfilenode,relname from pg_class where relname not like 'pg_%%' order by relname");
337337

338338
sql_exec(conn,todo,NULL);
339339
}
@@ -348,7 +348,7 @@ void sql_exec_searchtable(PGconn *conn, char *tablename)
348348
todo= (char*)malloc (1024);
349349

350350
/* get the oid and tablename where the name matches tablename */
351-
sprintf(todo,"selectoid,relname from pg_class where relname = '%s'",tablename);
351+
sprintf(todo,"selectrelfilenode,relname from pg_class where relname = '%s'",tablename);
352352

353353
returnvalue=sql_exec(conn,todo,1);
354354

@@ -372,7 +372,7 @@ void sql_exec_searchoid(PGconn *conn, int oid)
372372

373373
todo= (char*)malloc (1024);
374374

375-
sprintf(todo,"selectoid,relname from pg_class where oid = %i",oid);
375+
sprintf(todo,"selectrelfilenode,relname from pg_class where oid = %i",oid);
376376

377377
returnvalue=sql_exec(conn,todo,1);
378378

‎doc/src/sgml/gist.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ The information about GIST is at
1515
<ULink url="http://GiST.CS.Berkeley.EDU:8000/gist/">http://GiST.CS.Berkeley.EDU:8000/gist/</ULink>
1616

1717
with more on different indexing and sorting schemes at
18-
<ULink url="http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/">http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/</ULink>
18+
<ULink url="http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/">http://s2k-ftp.CS.Berkeley.EDU:8000/personal/jmh/</ULink>.
1919

20-
And there is more interesting reading at the Berkely database site at
21-
<ULink url="http://epoch.cs.berkeley.edu:8000/">http://epoch.cs.berkeley.edu:8000/</ULink>.
20+
And there is more interesting reading at
21+
<ULink url="http://epoch.cs.berkeley.edu:8000/">http://epoch.cs.berkeley.edu:8000/</ULink> and
22+
<ULink url="http://www.sai.msu.su/~megera/postgres/gist/">http://www.sai.msu.su/~megera/postgres/gist/</ULink>.
2223
</para>
2324

2425
<Para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp