Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
postgresql database
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 May 2009 at 23:24 UTC
Updated:
17 Aug 2012 at 15:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
josh waihi commentedquick fix for this - Use syntax that postgreSQL likes. I've tested this. It works
Comment #2
josh waihi commentedtagging as brain dead commit-able patch
Comment #3
mikey_p commentedConfirming this fixed the error.
Comment #4
damien tournoud commentedErm.
SET NAMES "UTF8"is listed as a valid syntax on [1].Is that the double quotes that PostgreSQL dislike in the
SET NAMESsyntax? If so, why in hell does it accept it onSET client_encoding TO?[1] http://www.postgresql.org/docs/8.3/static/multibyte.html
Comment #5
damien tournoud commentedWell, I confirms that:
If I believe the PostgreSQL manual, the version with single quotes is the preferred one. Let's use this one.
Comment #6
josh waihi commentedThis seems to be an issue from #319165: postgresql explicit encoding set where the patch wasn't tested but commited instead. I've changed the quoting so the previous syntax works
Comment #7
damien tournoud commentedMy fault, I greenlighted the patch on the other issue without testing it. I should be more cautious: PostgreSQL is mercyless. Tested this time.
Comment #8
dries commentedCommitted to CVS HEAD. Thanks!
Comment #10
liam morland