Re: trivial patch for pg_dump blob problem - Mailing list pgsql-patches

From Oleg Drokin
Subject Re: trivial patch for pg_dump blob problem
Date
Msg-id 20030214063825.GA6304@linuxhacker.ru
Whole thread Raw
In response to Re: trivial patch for pg_dump blob problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Hello!

On Thu, Feb 13, 2003 at 05:58:04PM -0500, Tom Lane wrote:

> >   Simple non-intrusive patch is below ;)
> Since lo_read is declared to return int, I think a more correct patch
> is to change 'cnt' to be declared as int.  I have fixed it that way.

I was just thinking about architectures that might have size_t larger
than 32 bit. Anyway, since lo_read() returns int, this is indeed
unimportant and your fix is just better.

Bye,
    Oleg

pgsql-patches by date:

Previous
From: "Ian"
Date:
Subject: Acconuting Packages that use Postgres
Next
From: Bruce Momjian
Date:
Subject: Re: fix regression in .pgpass handling