Re: pg_sample

From: Abhinav Mehta <abhinav(at)metarain(dot)com>
To: Ravi Krishna <sravikrishna(at)aol(dot)com>
Cc: Naveen Dabas <naveen(at)paymonk(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_sample
Date: 2018-08-24 12:46:25
Message-ID: 1B39DEAA-2C07-4B89-A39C-081CCD1A82C8@metarain.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Solution, execute this on your linux terminal -

$ perl -MCPAN -e 'install Bundle::DBI'
$ perl -MCPAN -e 'install DBD::Pg'

> On 24-Aug-2018, at 6:13 PM, Ravi Krishna <sravikrishna(at)aol(dot)com> wrote:
>
>>
>> sir have taken pg_sample
>> Now i want to run pg_sample with credential but i'm getting this error
>>
>> Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./pg_sample line 192.
>> BEGIN failed--compilation aborted at ./pg_sample line 192.
>
> As is clear from the message, you need to install Perl DBI/DBD first.
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abhinav Mehta 2018-08-24 12:50:37 PG-Sample | Error | Equality operator for type json
Previous Message Ravi Krishna 2018-08-24 12:43:33 Re: pg_sample