Revision 14779
Added by Aaron Marcuse-Kubitza about 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
4554 | 4554 |
|
4555 | 4555 |
|
4556 | 4556 |
-- |
4557 |
-- Name: quote_ident(text); Type: FUNCTION; Schema: util; Owner: - |
|
4558 |
-- |
|
4559 |
|
|
4560 |
CREATE FUNCTION quote_ident(name_ text) RETURNS text |
|
4561 |
LANGUAGE sql IMMUTABLE |
|
4562 |
AS $$ |
|
4563 |
SELECT pg_catalog.quote_ident(util.name_truncate(name_)) |
|
4564 |
$$; |
|
4565 |
|
|
4566 |
|
|
4567 |
-- |
|
4557 | 4568 |
-- Name: quote_typed(col); Type: FUNCTION; Schema: util; Owner: - |
4558 | 4569 |
-- |
4559 | 4570 |
|
Also available in: Unified diff
schemas/util.sql: added quote_ident() wrapper