aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorArturo Pie <arturotd08@yahoo.ca>2012-10-14 00:03:43 -0400
committerArturo Pie <arturotd08@yahoo.ca>2012-10-14 01:07:30 -0400
commit3006c59bc7a50c925f6b744447f1d94533a64241 (patch)
tree71c4bd3e9b85a1f0d8f3b9a876bfdd260c472bc1 /activesupport
parent3980465f2651ae2520828d9aec3b310da69521fe (diff)
downloadrails-3006c59bc7a50c925f6b744447f1d94533a64241.tar.gz
rails-3006c59bc7a50c925f6b744447f1d94533a64241.tar.bz2
rails-3006c59bc7a50c925f6b744447f1d94533a64241.zip
7914 Using a better way to get the defaults from db.
Changes: * According to postgreSQL documentation: (http://www.postgresql.org/docs/8.2/static/catalog-pg-attrdef.html) we should not be using 'adsrc' field because this field is unaware of outside changes that could affect the way that default values are represented. Thus, I changed the queries to use "pg_get_expr(adbin, adrelid)" instead of the historical "adsrc" field. * Remove parsing of character type default values for 8.1 formatting since Rails doesn't support postgreSQL 8.1 anymore. * Remove misleading comment unrelated to code.
Diffstat (limited to 'activesupport')
0 files changed, 0 insertions, 0 deletions