Re: GUC vs variable.c (was Patches applied...) - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: GUC vs variable.c (was Patches applied...)
Date
Msg-id 3CC349C0.8AF58951@fourpalms.org
Whole thread Raw
In response to GUC vs variable.c (was Patches applied...)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
...
> regression=# set seed to 1,2;
> server closed the connection unexpectedly
> (crash is due to assert failure)

Now that I look, the assert is one I put in explicitly to catch multiple
arguments! I wasn't sure what the behavior *should* be, though I could
have done worse than simply checking for multiple arguments and throwing
a more graceful elog(ERROR) with a message about having too many
arguments to SET SEED...
                   - Thomas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Coster/planner and edge cases...
Next
From: Thomas Lockhart
Date:
Subject: Re: GUC vs variable.c (was Patches applied...)