Re: Schema version management - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Schema version management
Date
Msg-id 1341505885-sup-9542@alvh.no-ip.org
Whole thread Raw
In response to Re: Schema version management  (Christopher Browne <cbbrowne@gmail.com>)
List pgsql-hackers
Excerpts from Christopher Browne's message of jue jul 05 12:10:09 -0400 2012:

> I wound up expanding the function arguments and using function + args
> as the name.  That leads to a risk of rather long names for functions,
> but there aren't many other ways possible.

Well, maybe not many, but you don't need many, only some.  You could
stringify the list of arguments and use a hash of the string.  That's
also unambiguous and the length is constrained, regardless of the number
of args.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG9.2 and FDW query planning.
Next
From: Pavel Stehule
Date:
Subject: Re: enhanced error fields