projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f02a79
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 06:59:20 +0000
(14:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Dec 2013 06:59:20 +0000
(14:59 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
db58fb9
..
d0cfa6c
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-700,7
+700,7
@@
class Pman_Core_UpdateDatabase extends Pman
n.nspname AS schema_name,
c.relname AS table_name,
a.attname AS column_name,
- regexp_replace(regexp_replace(d.adsrc, E'nextval\\\\(+[''\\
"]*', ''),E'[''
\\"]*::.*\$','') AS seq_name
+ regexp_replace(regexp_replace(d.adsrc, E'nextval\\\\(+[''\\
\"]*', ''),E'[''\
\\"]*::.*\$','') AS seq_name
FROM pg_class c
JOIN pg_attribute a ON (c.oid=a.attrelid)
JOIN pg_attrdef d ON (a.attrelid=d.adrelid AND a.attnum=d.adnum)