diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-10-02 16:23:07 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-10-02 16:23:07 +0000 |
commit | 9b21a18cee705fa972e5b8f8ab106145015bafe7 (patch) | |
tree | 5b3b9405c64278725831546e69ae6e6b70e6d51f /src/backend/utils/adt/ruleutils.c | |
parent | 772a596ed2c0ebe1728b3dfa9a53a96e7fbdd0d0 (diff) | |
download | postgresql-9b21a18cee705fa972e5b8f8ab106145015bafe7.tar.gz postgresql-9b21a18cee705fa972e5b8f8ab106145015bafe7.zip |
the following little patch adds array references to query
parameters. With it applied a function like
CREATE FUNCTION getname(oid8, int4) RETURNS name AS
'SELECT typname FROM pg_type WHERE oid = $1[$2]'
LANGUAGE 'sql';
is possible. Mainly I need this to enable array references in
expressions for PL/pgSQL. Complete regression test ran O.K.
Jan
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions