Re: Setting a default for nextval sequence

2017-11-27 Thread Melvin Davidson
On Mon, Nov 27, 2017 at 2:24 PM, David G. Johnston < david.g.johns...@gmail.com> wrote: > On Mon, Nov 27, 2017 at 12:13 PM, Robert Lakes > wrote: > >> I'm attempting to set the default value for a serial column. I created a >> generic function that I am passing a table name as the only parameter

Re: Setting a default for nextval sequence

2017-11-27 Thread David G. Johnston
On Mon, Nov 27, 2017 at 12:13 PM, Robert Lakes wrote: > I'm attempting to set the default value for a serial column. I created a > generic function that I am passing a table name as the only parameter. I > had it working correctly, however, it does not seem to like the sequence > name being the

Setting a default for nextval sequence

2017-11-27 Thread Robert Lakes
I'm attempting to set the default value for a serial column. I created a generic function that I am passing a table name as the only parameter. I had it working correctly, however, it does not seem to like the sequence name being the same name for each audit table that is created through the func