pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: HIDING <hiding@freemail.hu>
To: Org Pgsql-Odbc@Postgresql. <pgsql-odbc@postgresql.org>
Subject: eating variables
Date: Mon, 13 Oct 2003 18:35:47 +0200
Message-ID: <AFECLHMEFAKPEHDLCBPGCEMKCLAA.hiding@freemail.hu> (raw)

Hello!

first: Thanks to Hiroshi Inoue for the interest and help

Sorry for the slow answer. Here is an example from the

Cygwin window:

ERROR: Function to_fck(numeric) does not exist
Unable to identify a function that satisfies the given argument
types
You may need to add explicit typecasts
LOG: statement: SELECT
to_fck(gcpf_topics.topic_hidden),gcpf_topics.topic_name,
gcpf_topics.topic_no_messages ,
gcpf_topics.topic_start_date,
gcpf_topics.topic_id,gcp_users.user_nick
as user_name
FROM gcpf_topics,gcp_users
where gcpf_topics.user_id=gcp_users.user_id
order by topic_start_date desc

to_fck() is a non-existing function - a fantasy name :)
Using latest postgresql ODBC from Smalltalk, I got a cursor with NO ERROR
(!)
and no rows in it. So I've got an empty result_table but no error
message at all. My application this way believes that everything is fine and
there are no rows in the reply.

Running the same from PGADMIN III the result is error, which is the right
behavior.

ERROR: Function to_fck(numeric) does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts

Smalltalk uses ODBC3 interface.
ODBC subsystem details:
OS: XP Hungarian, SP1
App. dev tool: IBM VisualAge Smalltalk 5.5.2 using built in ODBC connector
(ODBC3 compliant)
Win XP ODBC manager: many components with different versions.
odbccp32.dll 3.520.9030.0
odbcint.dll 3.520.7713.0
odbc32.dll 3.520.9030.0
odbccr32.dll 3.520.9030.0
odbccu32.dll 3.520.9030.0
odbccp32.dll 3.520.7713.0
odbcad32.exe 3.520.9030.0
thanks
Robert




Message-ID: <AFECLHMEFAKPEHDLCBPGCEMKCLAA.hiding@freemail.hu>
Permalink:  ../AFECLHMEFAKPEHDLCBPGCEMKCLAA.hiding@freemail.hu/
Also on:    postgresql.org/message-id/AFECLHMEFAKPEHDLCBPGCEMKCLAA.hiding@freemail.hu

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hiding@freemail.hu
  Subject: Re: eating variables
  In-Reply-To: <AFECLHMEFAKPEHDLCBPGCEMKCLAA.hiding@freemail.hu>
  References: <AFECLHMEFAKPEHDLCBPGCEMKCLAA.hiding@freemail.hu>

* 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