pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14028: FATAL: cannot perform encoding conversion outside a transaction
4+ messages / 4 participants
[nested] [flat]

* BUG #14028: FATAL: cannot perform encoding conversion outside a transaction
@ 2016-03-17 13:39  srivathson.k@zohocorp.com
  0 siblings, 1 reply; 4+ messages in thread

From: srivathson.k@zohocorp.com @ 2016-03-17 13:39 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14028
Logged by:          Srivathson KK
Email address:      srivathson.k@zohocorp.com
PostgreSQL version: 9.4.0
Operating system:   Windows Server 2008 R2 - Korean
Description:        

I m trying to install PostgreSQL server 9.4.0 in Korean Windows Server 2008
R2 operating system.

I performed initdb using the command (initdb.exe -D ..\data -U postgres
--no-locale -E UTF8).

I m trying to start database server using the command (pg_ctl.exe -D ..\data
start). I ended up with the following error.

FATAL:  cannot perform encoding conversion outside a transaction


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #14028: FATAL: cannot perform encoding conversion outside a transaction
@ 2016-03-17 23:36  Tom Lane <tgl@sss.pgh.pa.us>
  parent: srivathson.k@zohocorp.com
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2016-03-17 23:36 UTC (permalink / raw)
  To: srivathson.k@zohocorp.com; +Cc: pgsql-bugs

srivathson.k@zohocorp.com writes:
> Bug reference:      14028
> Logged by:          Srivathson KK
> Email address:      srivathson.k@zohocorp.com
> PostgreSQL version: 9.4.0
> Operating system:   Windows Server 2008 R2 - Korean
> Description:        

> I m trying to install PostgreSQL server 9.4.0 in Korean Windows Server 2008
> R2 operating system.

> I performed initdb using the command (initdb.exe -D ..\data -U postgres
> --no-locale -E UTF8).

> I m trying to start database server using the command (pg_ctl.exe -D ..\data
> start). I ended up with the following error.

> FATAL:  cannot perform encoding conversion outside a transaction

The release notes for 9.4.5 mention a bug fix that seems to match
this symptom.  Please update.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #14028: FATAL: cannot perform encoding conversion outside a transaction
@ 2016-03-21 11:02  Srivathson KK <srivathson.k@zohocorp.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Srivathson KK @ 2016-03-21 11:02 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs; pgsql-bugs

Thanks Tom, Its working!



Btw, may I know why it is still in Todo list?



Regards,

Srivathson.


---- On Fri, 18 Mar 2016 05:06:24 +0530 Tom Lane <tgl@sss.pgh.pa.us>wrote ---- 




srivathson.k@zohocorp.com writes: 

> Bug reference: 14028 

> Logged by: Srivathson KK 

> Email address: srivathson.k@zohocorp.com 

> PostgreSQL version: 9.4.0 

> Operating system: Windows Server 2008 R2 - Korean 

> Description: 

 

> I m trying to install PostgreSQL server 9.4.0 in Korean Windows Server 2008 

> R2 operating system. 

 

> I performed initdb using the command (initdb.exe -D ..\data -U postgres 

> --no-locale -E UTF8). 

 

> I m trying to start database server using the command (pg_ctl.exe -D ..\data 

> start). I ended up with the following error. 

 

> FATAL: cannot perform encoding conversion outside a transaction 

 

The release notes for 9.4.5 mention a bug fix that seems to match 

this symptom. Please update. 

 

            regards, tom lane 

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #14028: FATAL: cannot perform encoding conversion outside a transaction
@ 2016-04-10 20:55  Noah Misch <noah@leadboat.com>
  parent: Srivathson KK <srivathson.k@zohocorp.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Noah Misch @ 2016-04-10 20:55 UTC (permalink / raw)
  To: Srivathson KK <srivathson.k@zohocorp.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-bugs; pgsql-bugs

On Mon, Mar 21, 2016 at 04:32:43PM +0530, Srivathson KK wrote:
> Btw, may I know why it is still in Todo list?

I assume you mean this TODO item:

  |Windows: Cache MessageEncoding conversion for use outside transactions
  * http://www.postgresql.org/message-id/20150812055719.GA1945333@tornado.leadboat.com

The changes in 9.4.5 stopped the "cannot perform encoding conversion outside a
transaction" errors and fixed things completely for Korean-locale databases.
For a database encoding having no Windows code page, such LATIN8, we still
make mojibake with a non-ASCII message written outside a transaction.  The
TODO item would fix that.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2016-04-10 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17 13:39 BUG #14028: FATAL: cannot perform encoding conversion outside a transaction srivathson.k@zohocorp.com
2016-03-17 23:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-03-21 11:02   ` Srivathson KK <srivathson.k@zohocorp.com>
2016-04-10 20:55     ` Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox