pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Díaz <ddiaz@denodo.com>
To: pgsql-odbc@postgresql.org
Subject: Disabling scalar functions in a DSN.
Date: Wed, 21 May 2014 10:03:19 +0200
Message-ID: <537C5DC7.6020908@denodo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi,

I have a few doubts about ODBC scalar function support.

After having installed the driver and created a DSN, is there some flag 
that can be set to disable support for scalar functions like {fn 
current_date()}, and in a way that clients can detect by calling SQLGetInfo?

Alternatively, is there a way to configure a DSN so that scalar 
functions are sent to the database "as themselves", for example {fn 
current_date()} =====> current_date() ?

Looking in the driver source code, I see a file odbc.sql, that contains 
Postgres function definitions. What is the purpose of this file? To be 
able to invoke scalar functions directly without needing the {fn ...} 
syntax ?

Thanks in advance,
Daniel

view thread (2+ messages)  latest in thread

Message-ID: <537C5DC7.6020908@denodo.com>
Permalink:  ../537C5DC7.6020908@denodo.com/
Also on:    postgresql.org/message-id/537C5DC7.6020908@denodo.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 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: ddiaz@denodo.com
  Subject: Re: Disabling scalar functions in a DSN.
  In-Reply-To: <537C5DC7.6020908@denodo.com>
  References: <537C5DC7.6020908@denodo.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