Remove src/test/regress/sql: plpgsql-nsp-testing.sql per Joe Conway.
This commit is contained in:
parent
c53bb2759f
commit
ff9973a8f1
|
@ -5281,7 +5281,7 @@ cat conftest.$ac_ext >&5
|
||||||
fi
|
fi
|
||||||
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
||||||
if test "$ac_cv_search_getopt_long" = no; then
|
if test "$ac_cv_search_getopt_long" = no; then
|
||||||
for ac_lib in getopt; do
|
for ac_lib in getopt gnugetopt; do
|
||||||
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl $Header: /cvsroot/pgsql/configure.in,v 1.208 2002/09/11 04:27:48 momjian Exp $
|
dnl $Header: /cvsroot/pgsql/configure.in,v 1.209 2002/09/17 04:27:41 momjian Exp $
|
||||||
dnl
|
dnl
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
|
@ -607,7 +607,7 @@ AC_CHECK_LIB(BSD, main)
|
||||||
AC_CHECK_LIB(gen, main)
|
AC_CHECK_LIB(gen, main)
|
||||||
AC_CHECK_LIB(PW, main)
|
AC_CHECK_LIB(PW, main)
|
||||||
AC_CHECK_LIB(resolv, main)
|
AC_CHECK_LIB(resolv, main)
|
||||||
AC_SEARCH_LIBS(getopt_long, [getopt])
|
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
|
||||||
# QNX:
|
# QNX:
|
||||||
AC_CHECK_LIB([[unix]], main)
|
AC_CHECK_LIB([[unix]], main)
|
||||||
AC_SEARCH_LIBS(crypt, crypt)
|
AC_SEARCH_LIBS(crypt, crypt)
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
-- nspname.relname.attname%TYPE
|
|
||||||
DROP FUNCTION t();
|
|
||||||
CREATE OR REPLACE FUNCTION t() RETURNS TEXT AS '
|
|
||||||
DECLARE
|
|
||||||
col_name pg_catalog.pg_attribute.attname%TYPE;
|
|
||||||
BEGIN
|
|
||||||
col_name := ''uga'';
|
|
||||||
RETURN col_name;
|
|
||||||
END;
|
|
||||||
' LANGUAGE 'plpgsql';
|
|
||||||
SELECT t();
|
|
||||||
|
|
||||||
-- nspname.relname%ROWTYPE
|
|
||||||
DROP FUNCTION t();
|
|
||||||
CREATE OR REPLACE FUNCTION t() RETURNS pg_catalog.pg_attribute AS '
|
|
||||||
DECLARE
|
|
||||||
rec pg_catalog.pg_attribute%ROWTYPE;
|
|
||||||
BEGIN
|
|
||||||
SELECT INTO rec * FROM pg_catalog.pg_attribute WHERE attrelid = 1247 AND attname = ''typname'';
|
|
||||||
RETURN rec;
|
|
||||||
END;
|
|
||||||
' LANGUAGE 'plpgsql';
|
|
||||||
SELECT * FROM t();
|
|
||||||
|
|
||||||
-- nspname.relname.attname%TYPE
|
|
||||||
DROP FUNCTION t();
|
|
||||||
CREATE OR REPLACE FUNCTION t() RETURNS pg_catalog.pg_attribute.attname%TYPE AS '
|
|
||||||
DECLARE
|
|
||||||
rec pg_catalog.pg_attribute.attname%TYPE;
|
|
||||||
BEGIN
|
|
||||||
SELECT INTO rec pg_catalog.pg_attribute.attname FROM pg_catalog.pg_attribute WHERE attrelid = 1247 AND attname = ''typname'';
|
|
||||||
RETURN rec;
|
|
||||||
END;
|
|
||||||
' LANGUAGE 'plpgsql';
|
|
||||||
SELECT t();
|
|
||||||
|
|
||||||
-- nspname.relname%ROWTYPE
|
|
||||||
DROP FUNCTION t();
|
|
||||||
CREATE OR REPLACE FUNCTION t() RETURNS pg_catalog.pg_attribute AS '
|
|
||||||
DECLARE
|
|
||||||
rec pg_catalog.pg_attribute%ROWTYPE;
|
|
||||||
BEGIN
|
|
||||||
SELECT INTO rec * FROM pg_catalog.pg_attribute WHERE attrelid = 1247 AND attname = ''typname'';
|
|
||||||
RETURN rec;
|
|
||||||
END;
|
|
||||||
' LANGUAGE 'plpgsql';
|
|
||||||
SELECT * FROM t();
|
|
Loading…
Reference in New Issue