atom feed10 messages in com.googlegroups.django-userspg_get_serial_sequence("unknown", "un...
FromSent OnAttachments
Federico CapoanoJun 8, 2010 2:47 pm 
Russell Keith-MageeJun 8, 2010 4:51 pm 
Federico CapoanoJun 9, 2010 3:27 am 
Matt HoskinsJun 9, 2010 4:20 am 
Russell Keith-MageeJun 9, 2010 4:21 am 
Matt HoskinsJun 9, 2010 4:28 am 
Federico CapoanoJun 9, 2010 6:53 am 
Matt HoskinsJun 9, 2010 9:24 am 
Federico CapoanoJun 10, 2010 4:26 am 
Russell Keith-MageeJun 10, 2010 5:01 am 
Subject:pg_get_serial_sequence("unknown", "unknown") - revision 13336
From:Federico Capoano ("
Date:Jun 8, 2010 2:47:15 pm

Hello to all,

I just upgraded to revision 13336, I tried then to add a post on my blog but I got an error. I tried then to save any other object in the admin but I get always the same error:

"DatabaseError: function pg_get_serial_sequence("unknown", "unknown") does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts."

Traceback (most recent call last):

File "/usr/local/lib/python2.6/site-packages/django/core/handlers/", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python2.6/site-packages/django/contrib/admin/", line 239, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/utils/", line 76, in _wrapped_view response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/views/decorators/", line 69, in _wrapped_view_func response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/contrib/admin/", line 190, in inner return view(request, *args, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/utils/", line 21, in _wrapper return decorator(bound_func)(*args, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/utils/", line 76, in _wrapped_view response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/utils/", line 17, in bound_func return func(self, *args2, **kwargs2)

File "/usr/local/lib/python2.6/site-packages/django/db/", line 299, in _commit_on_success res = func(*args, **kw)

File "/usr/local/lib/python2.6/site-packages/django/contrib/admin/", line 795, in add_view self.save_model(request, new_object, form, change=False)

File "/usr/local/lib/python2.6/site-packages/django/contrib/admin/", line 597, in save_model

File "/usr/local/lib/python2.6/site-packages/django/db/models/", line 435, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update)

File "/usr/local/lib/python2.6/site-packages/django/db/models/", line 528, in save_base result = manager._insert(values, return_id=update_pk, using=using)

File "/usr/local/lib/python2.6/site-packages/django/db/models/", line 195, in _insert return insert_query(self.model, values, **kwargs)

File "/usr/local/lib/python2.6/site-packages/django/db/models/", line 1479, in insert_query return query.get_compiler(using=using).execute_sql(return_id)

File "/usr/local/lib/python2.6/site-packages/django/db/models/sql/", line 789, in execute_sql self.query.model._meta.db_table,

File "/usr/local/lib/python2.6/site-packages/django/db/backends/ postgresql/", line 59, in last_insert_id cursor.execute("SELECT CURRVAL(pg_get_serial_sequence('%s','%s'))" % (table_name, pk_name))

File "/usr/local/lib/python2.6/site-packages/django/db/backends/ postgresql_psycopg2/", line 44, in execute return self.cursor.execute(query, args)

Could anyone please help me and tell me what's this? It seems I'm the