pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
contrib/dbsize
3+ messages / 2 participants
[nested] [flat]

* contrib/dbsize
@ 2003-03-26 02:45  Shankar K <shan0075@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Shankar K @ 2003-03-26 02:45 UTC (permalink / raw)
  To: pgsql-admin

Hi everybody,

I'm a newbie to postgres and need some advise on
contrib/dbsize install.

recently i installed 7.3.2 onto rh linux 7.3 from
source. everything was fine created couple of test
databases and later on i found the utilities under
/contrib dir of the source which i didn't install it
in first place.

so can i install them now ? and to all databases.

i did read the readme.doc under /contrib/dbsize and
this is what i got into.

bash-2.03$ make
sed 's,MODULE_PATHNAME,$libdir/dbsize,g' dbsize.sql.in
>dbsize.sql
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
-fPIC -I. -I../../src/include   -c -o dbsize.o
dbsize.c
/usr/ccs/bin/ld -G -Bdynamic -o dbsize.so dbsize.o
rm dbsize.o

bash-2.03$ make install
mkdir /usr/local/pgsql/share/contrib
make: *** [installdirs] Error 2

I appreciate your help.

Regards,
Shankar

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com




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

* contrib/dbsize
@ 2003-03-26 02:51  Shankar K <shan0075@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Shankar K @ 2003-03-26 02:51 UTC (permalink / raw)
  To: pgsql-admin

Hi everybody,

I'm a newbie to postgres and need some advise on
contrib/dbsize install.

recently i installed 7.3.2 onto rh linux 7.3 from
source. everything was fine created couple of test
databases and later on i found the utilities under
/contrib dir of the source which i didn't install it
in first place.

so can i install them now ? and to all databases.

i did read the readme.doc under /contrib/dbsize and
this is what i got into.

bash-2.03$ make
sed 's,MODULE_PATHNAME,$libdir/dbsize,g' dbsize.sql.in
>dbsize.sql
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
-fPIC -I. -I../../src/include   -c -o dbsize.o
dbsize.c
/usr/ccs/bin/ld -G -Bdynamic -o dbsize.so dbsize.o
rm dbsize.o

bash-2.03$ make install
mkdir /usr/local/pgsql/share/contrib
make: *** [installdirs] Error 2

I appreciate your help.

Regards,
Shankar

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com




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

* Re: contrib/dbsize
@ 2003-03-27 14:02  Rajesh Kumar Mallah <mallah@trade-india.com>
  parent: Shankar K <shan0075@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Rajesh Kumar Mallah @ 2003-03-27 14:02 UTC (permalink / raw)
  To: Shankar K <shan0075@yahoo.com>; pgsql-admin



Easy,

become root,

cd /path/to/uptarred/pogsql_src/contrib

# make
# make install


# cd <yoir_fav_contrib_package_folder>
# psql -U username db_name -f name_of_contrib_package.sql ( generally)


in case of dbsize

# cd dbsize
# psql -U uname db_name -f dbsize.sql

regds
mallah. 

On Wednesday 26 Mar 2003 8:15 am, Shankar K wrote:
> Hi everybody,
>
> I'm a newbie to postgres and need some advise on
> contrib/dbsize install.
>
> recently i installed 7.3.2 onto rh linux 7.3 from
> source. everything was fine created couple of test
> databases and later on i found the utilities under
> /contrib dir of the source which i didn't install it
> in first place.
>
> so can i install them now ? and to all databases.
>
> i did read the readme.doc under /contrib/dbsize and
> this is what i got into.
>
> bash-2.03$ make
> sed 's,MODULE_PATHNAME,$libdir/dbsize,g' dbsize.sql.in
>
> >dbsize.sql
>
> gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
> -fPIC -I. -I../../src/include   -c -o dbsize.o
> dbsize.c
> /usr/ccs/bin/ld -G -Bdynamic -o dbsize.so dbsize.o
> rm dbsize.o
>
> bash-2.03$ make install
> mkdir /usr/local/pgsql/share/contrib
> make: *** [installdirs] Error 2
>
> I appreciate your help.
>
> Regards,
> Shankar
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.




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


end of thread, other threads:[~2003-03-27 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-26 02:45 contrib/dbsize Shankar K <shan0075@yahoo.com>
2003-03-27 14:02 ` Rajesh Kumar Mallah <mallah@trade-india.com>
2003-03-26 02:51 contrib/dbsize Shankar K <shan0075@yahoo.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