pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher S. Weimann <cweimann@wallnet.com>
To: pgsql-interfaces@postgresql.org
Subject: lo_tell
Date: Sun, 16 Aug 1998 23:06:03 -0400
Message-ID: <19980816230603.16159@wallnet.com> (raw)


I need to search a database for some text that is in a large object.
It seems that there isn't a way to put a large object in a WHERE so
I am trying to write a c function that will return the text stored 
in a large object so I can do a comparison in the WHERE.


Anyway in the course of this I discoverd that lo_tell returns an
int rather than a long.  Is there a limitation to the size of a 
large object or just a limitation in lo_tell?


PS:  If anyone has a suggestion for a better way to search on a 
     large object I'd love to hear it.

-- 
------------------------------------------------------------
Christopher Weimann SysAdmin          	Wall Internet LLC. 
Email: cweimann@wallnet.com           	PO Box 255
Web: http://www.wallnet.com/~cweimann 	Manasquan NJ, 08736
					732-223-1777
------------------------------------------------------------



view thread (3+ messages)  latest in thread

Message-ID: <19980816230603.16159@wallnet.com>
Permalink:  ../19980816230603.16159@wallnet.com/
Also on:    postgresql.org/message-id/19980816230603.16159@wallnet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: cweimann@wallnet.com
  Subject: Re: lo_tell
  In-Reply-To: <19980816230603.16159@wallnet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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