Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
>> I am amused by the fact that we store the sequence name in the sequence
>> itself though.
>
> Yeah, it's a bit pointless. One possible response to this gripe would
> be to take the name out of the sequence itself. However, that would
> likely break client-side code for no very good reason.
Would it be possible to create a SELECT rule on the sequence that
returns the sequence name from the catalog instead?
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com