pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig James <craig_james@emolecules.com>
To: pgsql-admin@postgresql.org
Subject: Re: Can't Insert from Staging Table to Production Table
Date: Wed, 21 Dec 2011 16:33:37 -0800
Message-ID: <4EF27AE1.3050803@emolecules.com> (raw)
In-Reply-To: <0FB9449006048B4AA23E50C90C1B9209059A1221@CH1PRD0202MB157.namprd02.prod.outlook.com>
References: <0FB9449006048B4AA23E50C90C1B9209059A1221@CH1PRD0202MB157.namprd02.prod.outlook.com>

On 12/21/11 12:34 PM, Elliot Voris wrote:
>
> Hi, everyone
>
> I've got 32,404 rows of data in a staging table (marcxml_import) that I'm trying to get into my production table (biblio.record_entry) in my database (evergreen). When trying to do so, I'm getting the following error:
>
> evergreen=# INSERT INTO biblio.record_entry (marc, last_xact_id) SELECT marc, 'IMPORT' FROM marcxml_import;
>
> WARNING:  could not find ParserDetails.ini in /usr/local/share/perl/5.10.1/XML/SAX
>
> CONTEXT:  compilation of PL/Perl function "maintain_control_numbers"
>
> ERROR:  Unable to provide required features
>
> CONTEXT:  PL/Perl function "maintain_control_numbers"
>
> evergreen=#
>
> Any ideas what this means? Any idea how to get around it? I was asked in IRC what language I was working with, and it's plperlu.
>

Google is your friend.  Look for "ParserDetails.ini" and you find the exact problem you're describing:

http://perl-xml.sourceforge.net/faq/#parserdetails.ini

Craig
>
> Thank you!
>
> Elliot J Voris
>
> IT Director
>
> *Saint Louis Christian College*
>
> evoris@slcconline.edu <mailto:evoris@slcconline.edu>
>
> 314.837.6777 x 1250
>

view thread (2+ messages)

Message-ID: <4EF27AE1.3050803@emolecules.com>
Permalink:  ../4EF27AE1.3050803@emolecules.com/
Also on:    postgresql.org/message-id/4EF27AE1.3050803@emolecules.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: craig_james@emolecules.com
  Subject: Re: Can't Insert from Staging Table to Production Table
  In-Reply-To: <4EF27AE1.3050803@emolecules.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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