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

Commitc6cb870

Browse files
author
Hiroshi Inoue
committed
Change vacuumlo to take 'lo' type into account.
1 parent29481e1 commitc6cb870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/vacuumlo/vacuumlo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.9 2001/03/22 03:59:11 momjian Exp $
11+
* $Header: /cvsroot/pgsql/contrib/vacuumlo/vacuumlo.c,v 1.10 2001/09/17 02:30:54 inoue Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -111,7 +111,7 @@ vacuumlo(char *database, int verbose)
111111
strcat(buf,"WHERE a.attnum > 0 ");
112112
strcat(buf," AND a.attrelid = c.oid ");
113113
strcat(buf," AND a.atttypid = t.oid ");
114-
strcat(buf," AND t.typname='oid' ");
114+
strcat(buf," AND t.typnamein ('oid', 'lo') ");
115115
strcat(buf," AND c.relkind = 'r'");
116116
strcat(buf," AND c.relname NOT LIKE 'pg_%'");
117117
res=PQexec(conn,buf);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp