dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rdbms: Remove references to pg_attrdef.adsrc in Postgres code
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
field
/
PostgresField.php
diff --git
a/includes/libs/rdbms/field/PostgresField.php
b/includes/libs/rdbms/field/PostgresField.php
index
53c3d33
..
7596a3b
100644
(file)
--- a/
includes/libs/rdbms/field/PostgresField.php
+++ b/
includes/libs/rdbms/field/PostgresField.php
@@
-17,7
+17,7
@@
class PostgresField implements Field {
SELECT
attnotnull, attlen, conname AS conname,
atthasdef,
- adsrc,
+
pg_get_expr(adbin, adrelid) AS
adsrc,
COALESCE(condeferred, 'f') AS deferred,
COALESCE(condeferrable, 'f') AS deferrable,
CASE WHEN typname = 'int2' THEN 'smallint'