projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e674e1d
)
Fix dependency generation for multicolumn foreign keys. From Adam Buraczewski.
author
Tom Lane
<
[email protected]
>
Mon, 2 Dec 2002 00:28:34 +0000
(
00:28
+0000)
committer
Tom Lane
<
[email protected]
>
Mon, 2 Dec 2002 00:28:34 +0000
(
00:28
+0000)
contrib/adddepend/adddepend
patch
|
blob
|
blame
|
history
diff --git
a/contrib/adddepend/adddepend
b/contrib/adddepend/adddepend
index dafcceb13fbec5498c9976727deebb37c0bf8682..e007d448fdcf7cea56e7f00ff7070d2c7ff3cf2e 100755
(executable)
--- a/
contrib/adddepend/adddepend
+++ b/
contrib/adddepend/adddepend
@@
-221,7
+221,7
@@
sub findForeignKeys
my $ref_cols = "$fcolumn_name";
# Perhaps there is more than a single column
- while ($lcolumn_name =
pop(@junk) and $fcolumn_name = pop
(@junk)) {
+ while ($lcolumn_name =
shift(@junk) and $fcolumn_name = shift
(@junk)) {
$key_cols .= ", $lcolumn_name";
$ref_cols .= ", $fcolumn_name";
}