Re: PgLargeObject bug

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Chris Traylor <ctraylor(at)phalanyx(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: PgLargeObject bug
Date: 2002-06-15 19:31:36
Message-ID: 200206151931.g5FJVav05273@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Patch applied. Thanks.

---------------------------------------------------------------------------

If PostgreSQL failed to compile on your computer or you found a bug that
is likely to be specific to one platform then please fill out this form
and e-mail it to pgsql-ports(at)postgresql(dot)org(dot)

To report any other bug, fill out the form below and e-mail it to
pgsql-bugs(at)postgresql(dot)org(dot)

If you not only found the problem but solved it and generated a patch
then e-mail it to pgsql-patches(at)postgresql(dot)org instead. Please use the
command "diff -c" to generate the patch.

You may also enter a bug report at http://www.postgresql.org/ instead of
e-mail-ing this form.

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Chris Traylor
Your email address : ctraylor(at)phalanyx(dot)com

System Configuration
---------------------
Architecture (example: Intel Pentium) : AMD Athlon

Operating System (example: Linux 2.0.26 ELF) : Linux 2.4.10 ELF

PostgreSQL version (example: PostgreSQL-7.2.1): PostgreSQL-7.2.1

Compiler used (example: gcc 2.95.2) : gcc 3.1

Please enter a FULL description of your problem:
------------------------------------------------
The method PgLargeObject::LOid() is missing an implementation in the .cc file.

The program seems to compile ok, but when linking a program that uses the call,
g++ chokes with an undefined reference error.

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
I include the code:

Oid PgLargeObject::LOid(){
return pgObject;
}

in the .cc file.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2002-06-15 19:34:51 Re: Documentation regarding %ROWTYPE in PL/PgSQL
Previous Message Tom Lane 2002-06-14 22:42:39 Re: pg_dump fails for views with UNION and SELECT DISTINCT