summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/base.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-08-20 00:04:20 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-08-20 00:04:20 +0000
commitc44fb66551bf2f628648440ebc2010ad1135d9ac (patch)
tree6a1f683b08189448c822d22f33306e10eb919036 /django/db/backends/postgresql/base.py
parentaaf87602272c768d4d50d5e9a27f06f4b19164dd (diff)
Refactored get_random_function_sql() to DatabaseOperations.random_function_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r--django/db/backends/postgresql/base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index fee127ec90..4c5a278daf 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -131,9 +131,6 @@ def dictfetchall(cursor):
"Returns all rows from a cursor as a dict"
return cursor.dictfetchall()
-def get_random_function_sql():
- return "RANDOM()"
-
def get_start_transaction_sql():
return "BEGIN;"