pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas <merkurit@takas.lt>
To: pgsql-interfaces@postgresql.org
Subject: Error: for type 1700
Date: Thu, 18 May 2000 10:21:59 +0200
Message-ID: <3923A826.2C0CDE9B@takas.lt> (raw)

I am using postgresql 6.5.2 an new ODBC driver for postgresql.

So I create this function ( may be someone can include this function in
postgresql for compatibility, becouse it is defined in Microsoft SQL?):

create function getdate() returns datetime as 'select
datetime(\'now\'::abstime)' language 'sql'

And I try to execute this command (this is part of pgodbc drivers log
file):

conn=34146428, query='BEGIN'
conn=34146428, query='CREATE TABLE I03_DKD (I03_KODAS_ZS CHAR( 12)
DEFAULT ' ' NOT NULL,
  I03_KODAS_DH CHAR( 12) DEFAULT ' ' NOT NULL,  I03_EIL_NR NUMERIC(6, 0)
DEFAULT 0 NOT NULL,
  I03_KODAS_SSD CHAR( 12) DEFAULT ' ' NOT NULL,  I03_KODAS_SSC CHAR( 12)
DEFAULT ' ' NOT NULL,
  I03_VAL_SUMD NUMERIC(18, 2) DEFAULT 0 NOT NULL,  I03_VAL_SUMC
NUMERIC(18, 2) DEFAULT 0 NOT NULL,
  I03_SUMA NUMERIC(12, 2) DEFAULT 0 NOT NULL,  I03_KODAS_IS CHAR( 12)
DEFAULT ' ' NOT NULL,
  I03_KODAS_OS CHAR( 12) DEFAULT ' ' NOT NULL,  I03_KODAS_OS_S CHAR( 12)
DEFAULT ' ' NOT NULL,
  I03_SERIJA CHAR( 12) DEFAULT ' ' NOT NULL,  I03_ADDUSR CHAR( 12)
DEFAULT ' ' NOT NULL,
  I03_USERIS CHAR( 12) DEFAULT ' ' NOT NULL,  I03_R_DATE datetime
DEFAULT getdate() NOT NULL,
  PRIMARY KEY (I03_KODAS_ZS,I03_KODAS_DH,I03_EIL_NR))'
NOTICE from backend during send_query: 'NOTICE:  CREATE TABLE/PRIMARY
KEY will create implicit index 'i03_dkd_pkey' for table 'i03_dkd'
'
ERROR from backend during clear: 'ERROR:  Can't find a default operator
class for type 1700.
'
conn=34146428, query='COMMIT'

Can someone explain me this error?

Thanks.		Tomas.



view thread (2+ messages)  latest in thread

Message-ID: <3923A826.2C0CDE9B@takas.lt>
Permalink:  ../3923A826.2C0CDE9B@takas.lt/
Also on:    postgresql.org/message-id/3923A826.2C0CDE9B@takas.lt

 · 

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: merkurit@takas.lt
  Subject: Re: Error: for type 1700
  In-Reply-To: <3923A826.2C0CDE9B@takas.lt>

* 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