pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tlange@gwdg.de
To: pgsql-sql@postgresql.org
Subject: Re: sorry, now with subject... trigger & nextval(seq)
Date: Fri, 21 May 2010 09:35:20 +0200
Message-ID: <4c9adb73ac8c64f2e94c62e8d5d2f4d7.squirrel@mailbox.gwdg.de> (raw)
In-Reply-To: <AANLkTin2YCjEqBfu9n_wYwrGccZ0uFTzc8ZyxfmXXGz5@mail.gmail.com>
References: <ed7837818fc165ea7ffdc2efadb4ddc3.squirrel@mailbox.gwdg.de>
	<AANLkTin2YCjEqBfu9n_wYwrGccZ0uFTzc8ZyxfmXXGz5@mail.gmail.com>

> On Thu, May 20, 2010 at 5:52 PM,  <tlange@gwdg.de> wrote:
>
>> I'm new to triggers in PostgreSQL. I have to create a trigger on insert
>> to
>> increment a sequence to overcome MS-Access' limitation in acknowledging
>> serial "datatype".
>
> Uh?  Access doesn't need to acknowledge the serial datatype.
> At-least in recent versions auto increment is recognized by MS-Access
> just fine (I'm guessing this is due to the Return clause which the
> ODBC driver automatically calls).
>
Thanks Richard. Ok, I hope our Access version is not too old (97 or 2000 I
think) because I could not insert. I'll try the most recent ODBC driver
and follow also Adrians suggestion.

Torsten




view thread (4+ messages)  latest in thread

Message-ID: <4c9adb73ac8c64f2e94c62e8d5d2f4d7.squirrel@mailbox.gwdg.de>
Permalink:  ../4c9adb73ac8c64f2e94c62e8d5d2f4d7.squirrel@mailbox.gwdg.de/
Also on:    postgresql.org/message-id/4c9adb73ac8c64f2e94c62e8d5d2f4d7.squirrel@mailbox.gwdg.de

 · 

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-sql@postgresql.org
  Cc: tlange@gwdg.de
  Subject: Re: sorry, now with subject... trigger & nextval(seq)
  In-Reply-To: <4c9adb73ac8c64f2e94c62e8d5d2f4d7.squirrel@mailbox.gwdg.de>

* 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