|
Re: [plt-dev] pgsql package: msg#00091plt-dev
Robby wrote: Hi all (Ryan?): I've got a question about pgsql. From what I can tell, PostgreSQL lets you specify character encodings on a per-database and per-client basis. The shell command: psql -l will show you your setting for each database on your server. The psql command: \encoding will show you your client encoding for your current session. You can set your client encoding using the psql command: \encoding UTF8 I'm guessing backslash commands can also be sent over an SPGSQL connection... you could try doing: (send conn exec "\\encoding UTF8") as soon as you connect. If that works, perhaps it's something that could be rolled into SPGSQL's "connect" procedure? Hope this helps, -- Dave _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |