Re: [HACKERS] [COMMITTERS] pgsql/contrib/rserv ApplySnapshot.in CleanLog. ...

2002-10-04 Thread Alexey V. Borzov

Hello Peter,

Tuesday, October 01, 2002, 1:42:46 AM, you wrote:

PE Bruce Momjian writes:

 Peter, the author is questioning why his Makefile changes were wrong.
 Would you elaborate?

PE Because we rely on the built-in library lookup functionality instead of
PE hardcoding the full file name.

  Agh! I finally read up on module loading
http://developer.postgresql.org/docs/postgres/xfunc-c.html#XFUNC-C-DYNLOAD
  and now I seem to understand. You see, the problem with the current
  Makefile is as follows: it substitutes '$libdir' into both .sql and
  perl files. While this is good enough for sql, $libdir is consumed
  by Perl and thus perl scripts do NOT work.
  Thanks for elaborating, I'll try to produce a better patch ASAP.

-- 
Ñ óâàæåíèåì, Àëåêñåé Áîðçîâ
îòäåë èíòåðíåò-ïðîåêòîâ ÎÎÎ ÐÄÂ-Ìåäèà
http://www.rdw.ru 
http://www.vashdosug.ru


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [HACKERS] [COMMITTERS] pgsql/contrib/rserv ApplySnapshot.in CleanLog.

2002-10-01 Thread Peter Eisentraut

Alexey V. Borzov writes:

   Agh! I finally read up on module loading
 http://developer.postgresql.org/docs/postgres/xfunc-c.html#XFUNC-C-DYNLOAD
   and now I seem to understand. You see, the problem with the current
   Makefile is as follows: it substitutes '$libdir' into both .sql and
   perl files. While this is good enough for sql, $libdir is consumed
   by Perl and thus perl scripts do NOT work.

Then fix the Perl scripts.  Keep the bizarre code close to the cause, so
it's easier to maintain.

-- 
Peter Eisentraut   [EMAIL PROTECTED]


---(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



Re: [HACKERS] [COMMITTERS] pgsql/contrib/rserv ApplySnapshot.in CleanLog. ...

2002-09-30 Thread Peter Eisentraut

Bruce Momjian writes:

 Peter, the author is questioning why his Makefile changes were wrong.
 Would you elaborate?

Because we rely on the built-in library lookup functionality instead of
hardcoding the full file name.

-- 
Peter Eisentraut   [EMAIL PROTECTED]


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: [HACKERS] [COMMITTERS] pgsql/contrib/rserv ApplySnapshot.in CleanLog. ...

2002-09-29 Thread Bruce Momjian


Peter, the author is questioning why his Makefile changes were wrong. 
Would you elaborate?

---

pgman wrote:
 
 Done.
 
 ---
 
 Peter Eisentraut wrote:
  Please revert the Makefile part of this patch.
  
  Bruce Momjian - CVS writes:
  
   CVSROOT:  /cvsroot
   Module name:  pgsql
   Changes by:   [EMAIL PROTECTED]  02/03/06 15:41:38
  
   Modified files:
 contrib/rserv  : ApplySnapshot.in CleanLog.in GetSyncID.in
  Makefile MasterSync.in PrepareSnapshot.in
  Replicate.in
  
   Log message:
 This simple patch fixes broken Makefile, broken ApplySnapshot and
 makes all utilities honour --verbose command line option.
  
 --
 Yours, Alexey V. Borzov, Webmaster of RDW.ru
  
  
  
  -- 
  Peter Eisentraut   [EMAIL PROTECTED]
  
  
  ---(end of broadcast)---
  TIP 5: Have you checked our extensive FAQ?
  
  http://www.postgresql.org/users-lounge/docs/faq.html
  
 
 -- 
   Bruce Momjian|  http://candle.pha.pa.us
   [EMAIL PROTECTED]   |  (610) 853-3000
   +  If your life is a hard drive, |  830 Blythe Avenue
   +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster