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

Commit29481e1

Browse files
author
Hiroshi Inoue
committed
Change FixupBlobXrefs() to take 'lo' type into account.
1 parent052c2ea commit29481e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/pg_backup_db.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*Implements the basic DB functions used by the archiver.
66
*
77
* IDENTIFICATION
8-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.24 2001/08/22 20:23:23 petere Exp $
8+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_db.c,v 1.25 2001/09/17 02:07:51 inoue Exp $
99
*
1010
* NOTES
1111
*
@@ -721,7 +721,7 @@ FixupBlobRefs(ArchiveHandle *AH, char *tablename)
721721

722722
appendPQExpBuffer(tblQry,"SELECT a.attname FROM pg_class c, pg_attribute a, pg_type t "
723723
" WHERE a.attnum > 0 AND a.attrelid = c.oid AND a.atttypid = t.oid "
724-
" AND t.typname='oid' AND c.relname = '%s';",tablename);
724+
" AND t.typnamein ('oid', 'lo') AND c.relname = '%s';",tablename);
725725

726726
res=PQexec(AH->blobConnection,tblQry->data);
727727
if (!res)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp