Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Help about types please



On 8/28/06, Thomas Galla <efallstar(at)gmail(dot)com> wrote:
Hello everyone,

Actually i'm working in a java project which attemps to storage oid data types in a postgres7.4.

Anyway, when my application tries to store an oid, it throws a sqlexception that says:

ERROR: the column «doc_cidt» is of type oid but yhe _expression_ is of type bytea

i'll give you my thanks if someone can helpme with this problem.

PD: I also update my postgres to the 8.1 version, but it still don't works. A!, and it occurs on linux plattform (on windows it works properly)


Can you provide your query/queries that you are using to do this?  Also list the tables and column types for tables you are selecting from and inserting into.

==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
   http://codeelixir.com
==================================================================

Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group