On Friday 23 February 2007 10:52, Michael Bayer wrote:
> PassiveDefault is used for this.
Thanks. Works perfectly.
> On Feb 23, 2007, at 6:35 AM, Sean Davis wrote:
> > If I have a table that generates primary keys like this (in postgres):
> >
> > create table ...(
> > pk varchar default ('pk-
PassiveDefault is used for this.
On Feb 23, 2007, at 6:35 AM, Sean Davis wrote:
> If I have a table that generates primary keys like this (in postgres):
>
> create table ...(
> pk varchar default ('pk-'||nextval('table_seq'::regclass)::varchar),
> ...,
> primary key(pk)
> );
>
> on the dat