dbTalk Databases Forums  

Ingres version to support copydb -nvarchar

comp.databases.ingres comp.databases.ingres


Discuss Ingres version to support copydb -nvarchar in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
seldom isnice
 
Posts: n/a

Default Ingres version to support copydb -nvarchar - 10-02-2011 , 04:19 PM






Hi

I need to copydb a 88591 table into a utf8 database.

I can see there is some plan for Ingres/Actian to support a copydb -
nvarchar option to support conversion to utf8

My assumption is that an varchar with extended chars eg Αι
copydb -c -nvarchar will generate datafile such that the number of
characters in utf8 (greater number of chars) will successfully copy in
to a utf8 database.

What version of Ingres will support the -nvarchar flag?

Thanks

Reply With Quote
  #2  
Old   
seldom isnice
 
Posts: n/a

Default Re: Ingres version to support copydb -nvarchar - 10-02-2011 , 04:27 PM






On Oct 2, 10:19*pm, seldom isnice <seldomisnice... (AT) gmail (DOT) com> wrote:
Quote:
Hi

I need to copydb a 88591 table into a utf8 database.

I can see there is some plan for Ingres/Actian to support a copydb -
nvarchar option to support conversion to utf8

My assumption is that an varchar with extended chars eg Αι
copydb -c -nvarchar will generate datafile such that the number of
characters in utf8 (greater number of chars) will successfully copy in
to a utf8 database.

What version of Ingres will support the -nvarchar flag?

Thanks
PS I refer to this

Project Name UTF8 Portable COPYDB & UNLOADDB
Author Alex Hanshaw
Last Saved Date April 18th 2011

Reply With Quote
  #3  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Ingres version to support copydb -nvarchar - 10-03-2011 , 02:19 AM



Hi seldom

I believe you need an Ingres10.

Martin Bowes

-----Original Message-----
From: seldom isnice [mailto:seldomisnice248 (AT) gmail (DOT) com]
Sent: 02 October 2011 22:20
To: info-ingres (AT) kettleriverconsulting (DOT) com
Subject: [Info-Ingres] Ingres version to support copydb -nvarchar

Hi

I need to copydb a 88591 table into a utf8 database.

I can see there is some plan for Ingres/Actian to support a copydb -
nvarchar option to support conversion to utf8

My assumption is that an varchar with extended chars eg Αι
copydb -c -nvarchar will generate datafile such that the number of
characters in utf8 (greater number of chars) will successfully copy in
to a utf8 database.

What version of Ingres will support the -nvarchar flag?

Thanks
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres

Reply With Quote
  #4  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Ingres version to support copydb -nvarchar - 10-03-2011 , 02:29 AM



I should also have said I recently used the Ingres10 copydb -nvarchar to achieve a transfer from an ISO88591 installation to a UTF8 Installation (Vectorwise).

It ran like a dream.

Marty

-----Original Message-----
From: Martin Bowes [mailto:martin.bowes (AT) ctsu (DOT) ox.ac.uk]
Sent: 03 October 2011 08:19
To: Ingres and related product discussion forum
Cc: seldom isnice
Subject: Re: [Info-Ingres] Ingres version to support copydb -nvarchar

Hi seldom

I believe you need an Ingres10.

Martin Bowes

-----Original Message-----
From: seldom isnice [mailto:seldomisnice248 (AT) gmail (DOT) com]
Sent: 02 October 2011 22:20
To: info-ingres (AT) kettleriverconsulting (DOT) com
Subject: [Info-Ingres] Ingres version to support copydb -nvarchar

Hi

I need to copydb a 88591 table into a utf8 database.

I can see there is some plan for Ingres/Actian to support a copydb -
nvarchar option to support conversion to utf8

My assumption is that an varchar with extended chars eg Αι
copydb -c -nvarchar will generate datafile such that the number of
characters in utf8 (greater number of chars) will successfully copy in
to a utf8 database.

What version of Ingres will support the -nvarchar flag?

Thanks
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres


_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://ext-cando.kettleriverconsulti...fo/info-ingres

Reply With Quote
  #5  
Old   
Dennis
 
Posts: n/a

Default Re: [Info-Ingres] Ingres version to support copydb -nvarchar - 10-03-2011 , 11:20 PM



On 10/3/2011 1:19 AM, Martin Bowes wrote:
Quote:
Hi seldom

I believe you need an Ingres10.

Martin Bowes

-----Original Message-----
From: seldom isnice [mailto:seldomisnice248 (AT) gmail (DOT) com]
Sent: 02 October 2011 22:20
To: info-ingres (AT) kettleriverconsulting (DOT) com
Subject: [Info-Ingres] Ingres version to support copydb -nvarchar

Hi

I need to copydb a 88591 table into a utf8 database.

I can see there is some plan for Ingres/Actian to support a copydb -
nvarchar option to support conversion to utf8

My assumption is that an varchar with extended chars eg Αι
copydb -c -nvarchar will generate datafile such that the number of
characters in utf8 (greater number of chars) will successfully copy in
to a utf8 database.

What version of Ingres will support the -nvarchar flag?
What are the conditions that this will work? Does this only work from
one ISO88591 installation to another ISO88591 installation?

I tried this from a SHIFTJIS installation to another SHIFTJIS
installation and failed with a GCA protocol service failure.

I tried this from a UTF8 installation against a SHIFTJIS installation
and not surprisingly got the "couldn't negotiate character content"
message.

It seems to only work from an ISO88591 installation to another ISO88591
installation.

All of my attempts were using a vnode to a remote installation.

Dennis

Reply With Quote
  #6  
Old   
Martin Bowes
 
Posts: n/a

Default Re: [Info-Ingres] Ingres version to support copydb -nvarchar - 10-04-2011 , 03:14 AM



Hi Dennis et al,

Quote:
What are the conditions that this will work? Does this only work from
one ISO88591 installation to another ISO88591 installation?

I tried this from a SHIFTJIS installation to another SHIFTJIS
installation and failed with a GCA protocol service failure.

I tried this from a UTF8 installation against a SHIFTJIS installation
and not surprisingly got the "couldn't negotiate character content"
message.

It seems to only work from an ISO88591 installation to another ISO88591
installation.

All of my attempts were using a vnode to a remote installation.
I've used it successfully between ISO88591 and UTF8. However as you note you cannot use a vnode between these installations as they will not negotiate a charcter set. So on the ISO88591 installation I ran the copydb -nvarchar, then moved the files to the UTF8 installation where they were uploaded into a database created with the -i flag.

I'd be surprised if you need this flag to get a copy between two SHIFTJIS installations but the GCA message troubles me. I take it that the vnode you were using is functional. If no other good reason presents itself, I'd report the problem to IngresCorp.

Marty

Reply With Quote
  #7  
Old   
Dennis
 
Posts: n/a

Default Re: [Info-Ingres] Ingres version to support copydb -nvarchar - 10-04-2011 , 08:28 AM



On 10/4/2011 2:14 AM, Martin Bowes wrote:
Quote:
I tried this from a SHIFTJIS installation to another SHIFTJIS
installation and failed with a GCA protocol service failure.

I'd be surprised if you need this flag to get a copy between two
SHIFTJIS installations but the GCA message troubles me.
I take it that the vnode you were using is functional.
If no other good reason presents itself,
I'd report the problem to IngresCorp.

Hi Marty,

Yes, the SHIFTJIS vnode is functional using isql, for example. The
copydb ... part works, but when running sql vnode::dbName < copy.out is
when the error happens.

Dennis

Reply With Quote
  #8  
Old   
Dennis
 
Posts: n/a

Default Re: [Info-Ingres] Ingres version to support copydb -nvarchar - 10-04-2011 , 09:23 AM



On 10/4/2011 7:28 AM, Dennis wrote:
Quote:
On 10/4/2011 2:14 AM, Martin Bowes wrote:

I tried this from a SHIFTJIS installation to another SHIFTJIS
installation and failed with a GCA protocol service failure.

I'd be surprised if you need this flag to get a copy between two
SHIFTJIS installations but the GCA message troubles me.
I take it that the vnode you were using is functional.
If no other good reason presents itself,
I'd report the problem to IngresCorp.


Yes, the SHIFTJIS vnode is functional using isql, for example. The
copydb ... part works, but when running sql vnode::dbName < copy.out is
when the error happens.

As a test I copied a remote SHIFTJIS installation table data into a
local Ingres10 SHIFTJIS installation, thinking the issue may be Ingres10
trying to talk to an earlier version of Ingres in certain situations.

After creating the copy.out script with copydb -c -nvarchar... on the
local Ingres10 SHIFTJIS installation, then running the copy.out script,
any row that had a column with SHIFTJIS characters failed with a
"couldn't convert to row format..." message.

Dennis

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.