summaryrefslogtreecommitdiffstats
path: root/backend/php-postgresql/index.php
diff options
context:
space:
mode:
authorondrej.zara <none@none>2010-03-15 15:08:21 +0000
committerondrej.zara <none@none>2010-03-15 15:08:21 +0000
commit9b83886d5f6efa97e69ddc1057326e455725bbfb (patch)
tree3e151030bf0e1b6e87503417c4dfda19b2b6e51c /backend/php-postgresql/index.php
parent60536f1e62f623370b06a39fcb98c3b133243dd9 (diff)
downloadwwwsqldesigner-9b83886d5f6efa97e69ddc1057326e455725bbfb.zip
wwwsqldesigner-9b83886d5f6efa97e69ddc1057326e455725bbfb.tar.gz
wwwsqldesigner-9b83886d5f6efa97e69ddc1057326e455725bbfb.tar.bz2
typo
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4084
Diffstat (limited to 'backend/php-postgresql/index.php')
-rw-r--r--backend/php-postgresql/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/php-postgresql/index.php b/backend/php-postgresql/index.php
index ceacd24..7f5e280 100644
--- a/backend/php-postgresql/index.php
+++ b/backend/php-postgresql/index.php
@@ -152,7 +152,7 @@
// index
$qstr = 'SELECT pcx."relname" as "INDEX_NAME", pa."attname" as
"COLUMN_NAME", * FROM "pg_index" pi LEFT JOIN "pg_class" pcx ON pi."indexrelid" =
- pcx."oid" LEFT JOIN "pg_class" pci ON pi."indrelid" = pci."oid" LEFT JOIN1
+ pcx."oid" LEFT JOIN "pg_class" pci ON pi."indrelid" = pci."oid" LEFT JOIN
"pg_attribute" pa ON pa."attrelid" = pci."oid" AND pa."attnum" = ANY(pi."indkey")
WHERE pci."relname" = \''.$table.'\' order by pa."attnum"';
$result2 = pg_query($conn, $qstr);