Re: Sequences using libpqxx - Mailing list pgsql-general

From Tomasz Ostrowski
Subject Re: Sequences using libpqxx
Date
Msg-id 48AD1A26.3090606@batory.org.pl
Whole thread Raw
In response to Sequences using libpqxx  ("Roshni Mani" <m.roshni@teles.com>)
List pgsql-general
On 2008-08-20 12:13, Roshni Mani wrote:
> Does the sequence commands like nextval().setval(),curval()  exist
> using libpqxx?

You just run an ordinary query:
    select nextval('sequence_name')

Regards
Tometzky
--
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
                                                      Winnie the Pooh

pgsql-general by date:

Previous
From: "Andrew Maclean"
Date:
Subject: Re: Single character bitfields
Next
From: Tom Tom
Date:
Subject: Re: pg_restore fails on Windows