[ADMIN] libpg.so.2 is missing in 7.3.1

2002-12-23 Thread Jie Liang


-Original Message-
From: Tom Lane [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 11:32 AM
To: [EMAIL PROTECTED]
Cc: Simone Tellini; [EMAIL PROTECTED]
Subject: Re: [ADMIN] locking a table 


Andreas Schmitz <[EMAIL PROTECTED]> writes:
> Maybe I have a different idea of exclusive.

Locks are held till the end of the current transaction ... so you need
something like

begin;
lock ...;
do whatever ...;
commit;

to do anything useful with an explicit lock.  A standalone LOCK command
will drop the lock as soon as it's acquired.

regards, tom lane

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



[ADMIN] libpg.so.2 is missing in 7.3.1

2002-12-23 Thread Jie Liang
There is NO libpq.so.2 in 7.3.1 instead it has a libpg.so.3, however 7.3.0
do have libpq.so.2, no such a libpq.so.3.
This difference causes all my scripts fail with following err msg:

Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Pg/Pg.so'
for module Pg: Shared object "libpq.so.2" not found at
/usr/libdata/perl/5.00503/DynaLoader.pm line 169.

I copy libpq.so.2 from 7.3.0 in /usr/local/pgsql/lib of 7.3.1 then all my
scripts run OK. But I think that is very urly way to fix it.

Is there other way or I missed something.


Jie Liang

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [ADMIN] libpg.so.2 is missing in 7.3.1

2002-12-24 Thread Jie Liang
Sorry this silly question, I rebuild my Pg module, it works now.

Thanks.

Jie Liang

-Original Message-
From: Jie Liang 
Sent: Monday, December 23, 2002 7:20 PM
To: 'Tom Lane'
Cc: [EMAIL PROTECTED]
Subject: [ADMIN] libpg.so.2 is missing in 7.3.1


There is NO libpq.so.2 in 7.3.1 instead it has a libpg.so.3, however 7.3.0
do have libpq.so.2, no such a libpq.so.3.
This difference causes all my scripts fail with following err msg:

Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Pg/Pg.so'
for module Pg: Shared object "libpq.so.2" not found at
/usr/libdata/perl/5.00503/DynaLoader.pm line 169.

I copy libpq.so.2 from 7.3.0 in /usr/local/pgsql/lib of 7.3.1 then all my
scripts run OK. But I think that is very urly way to fix it.

Is there other way or I missed something.


Jie Liang

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html