Re: proposal: auxiliary functions for record type - Mailing list pgsql-hackers

From Dmitriy Igrishin
Subject Re: proposal: auxiliary functions for record type
Date
Msg-id AANLkTi=SFBgq1K_j2x0dCRxgsPyWqq3a1Tih6jdfN486@mail.gmail.com
Whole thread Raw
In response to proposal: auxiliary functions for record type  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Hey Pavel,

Everything looks fine, but I propose you to add record_set_field
just for convenience and as opposite of record_get_field.

2010/12/11 Pavel Stehule <pavel.stehule@gmail.com>
Hello

I wrote a few functions for record type - record_expand,
record_get_fields, record_get_field, record_set_fields.

A usage of this functions is described in my blog
http://okbob.blogspot.com/2010/12/iteration-over-record-in-plpgsql.html

Do you think, so these functions can be in core? These are relative
strong and enough general with zero dependency. Sure, these functions
are not defined in ANSI SQL.

Regards

Pavel Stehule

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



--
// Dmitriy.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Next
From: Tom Lane
Date:
Subject: Re: create tablespace fails silently, or succeeds improperly