| Newsgroups |
gmane.comp.db.postgresql.dbdpg |
| Message-ID |
<CAE_gQfV+1Bv7ksZQUGY3U3rGKRAWXiLRKkSeKff=wG6pMjNkyw@mail.gmail.com> |
--e89a8f8394338546da052d1d005e
Content-Type: text/plain; charset=UTF-8
I'm using PostgreSQL 9.2.15-1PGDG.rhel6 on a Centos 6.7 64 Bits.
Hi all,
Got an issue using pg_sample:
When executing the command:
> ./pg_sample dbname --data-only --file=test.sql --limit="ja_admins = 1000"
I got the following error:
> Creating table "
>
> *pg_sample"."pg_catalog_pg_statistic" DBD::Pg::db do failed: ERROR: column
> "stavalues1" has pseudo-type "anyarray" at ./pg_sample line
> 296main::__ANON_**main::__ANON_*('DBD::Pg::db do failed: ERROR: column
> "stavalues1" has pseudo...', 'DBI::db=HASH(0xfdec08)', undef) called at
> ./pg_sample line 538
> Dropping sample schema _pg_sample
> Done.
Perl-DBD-pg-2.19.3 - Installed manually by:
1. perl Makefile.PL
2. make
3. make test
4. make install
Source: https://github.com/bucardo/dbdpg
What can I do to solve this issue?
Thanks!
--e89a8f8394338546da052d1d005e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><p style=3D"margin-bottom:16px;color:rgb(51,51,51);font-fa=
mily:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,s=
ans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe U=
I Symbol';font-size:14px;line-height:22.4px;margin-top:0px!important">I=
'm using PostgreSQL 9.2.15-1PGDG.rhel6 on a Centos 6.7 64 Bits.</p><p s=
tyle=3D"margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&=
#39;Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-se=
rif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symb=
ol';font-size:14px;line-height:22.4px">Hi all,</p><p style=3D"margin-to=
p:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica Neu=
e',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Co=
lor Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size=
:14px;line-height:22.4px">Got an issue using pg_sample:</p><p style=3D"marg=
in-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetic=
a Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'App=
le Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font=
-size:14px;line-height:22.4px">When executing the command:<br></p><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-widt=
h:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-le=
ft:1ex">./pg_sample dbname --data-only --file=3Dtest.sql --limit=3D"ja=
_admins =3D 1000"</blockquote><p></p><p style=3D"margin-top:0px;margin=
-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica Neue',Helve=
tica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji=
9;,'Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-h=
eight:22.4px">I got the following error:<br></p><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-=
color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Creating t=
able "<em>pg_sample"."pg_catalog_pg_statistic" DBD::Pg:=
:db do failed: ERROR: column "stavalues1" has pseudo-type "a=
nyarray" at ./pg_sample line 296<br>main::__ANON_<br></em><em>main::__=
ANON_</em>('DBD::Pg::db do failed: ERROR: column "stavalues1"=
has pseudo...', 'DBI::db=3DHASH(0xfdec08)', undef) called at .=
/pg_sample line 538<br>Dropping sample schema _pg_sample<br>Done.</blockquo=
te><p></p><p style=3D"margin-top:0px;color:rgb(51,51,51);font-family:'H=
elvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,&=
#39;Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol=
9;;font-size:14px;line-height:22.4px;margin-bottom:0px!important"><br></p><=
p style=3D"margin-top:0px;color:rgb(51,51,51);font-family:'Helvetica Ne=
ue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple C=
olor Emoji','Segoe UI Emoji','Segoe UI Symbol';font-siz=
e:14px;line-height:22.4px;margin-bottom:0px!important">Perl-DBD-pg-2.19.3 -=
Installed manually by:</p><pre style=3D"overflow:auto;font-family:Consolas=
,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-to=
p:0px;margin-bottom:0px;font-stretch:normal;white-space:pre-wrap;color:rgb(=
51,51,51)"><ol><ol><li>perl Makefile.PL</li><li>make</li><li>make test</li>=
<li>make install</li></ol></ol></pre><p style=3D"margin-top:0px;color:rgb(5=
1,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',=
Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji&#=
39;,'Segoe UI Symbol';font-size:14px;line-height:22.4px;margin-bott=
om:0px!important">Source: <a href=3D"https://github.com/bucardo/dbdpg">http=
s://github.com/bucardo/dbdpg</a></p><p style=3D"margin-top:0px;color:rgb(51=
,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',A=
rial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji=
9;,'Segoe UI Symbol';font-size:14px;line-height:22.4px;margin-botto=
m:0px!important"><br></p><p style=3D"margin-top:0px;color:rgb(51,51,51);fon=
t-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesa=
ns,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Seg=
oe UI Symbol';font-size:14px;line-height:22.4px;margin-bottom:0px!impor=
tant">What can I do to solve this issue?</p><p style=3D"margin-top:0px;colo=
r:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe U=
I',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI =
Emoji','Segoe UI Symbol';font-size:14px;line-height:22.4px;marg=
in-bottom:0px!important">Thanks!</p></div>
--e89a8f8394338546da052d1d005e--