Re: [HACKERS] [PATCH] Add a test for pg_get_functiondef()

2009-04-21 Thread Abhijit Menon-Sen
At 2009-04-13 10:40:41 -0400, t...@sss.pgh.pa.us wrote: Abhijit Menon-Sen a...@oryx.com writes: [ a test whose purpose he didn't bother to describe ] I'm sorry about that. What is the value of this? It seems far more likely to cause maintenance pain than to catch anything interesting.

Re: [HACKERS] [PATCH] Add a test for pg_get_functiondef()

2009-04-13 Thread Abhijit Menon-Sen
Sorry, I screwed up a little in sending that patch. Here it is again as an attachment. -- ams diff --git a/src/test/regress/sql/defs.sql b/src/test/regress/sql/defs.sql new file mode 100644 index 000..cf8fff3 --- /dev/null +++ b/src/test/regress/sql/defs.sql @@ -0,0 +1,24 @@ +-- Test

Re: [HACKERS] [PATCH] Add a test for pg_get_functiondef()

2009-04-13 Thread Tom Lane
Abhijit Menon-Sen a...@oryx.com writes: [ a test whose purpose he didn't bother to describe ] What is the value of this? It seems far more likely to cause maintenance pain than to catch anything interesting. regards, tom lane -- Sent via pgsql-hackers mailing list

[HACKERS] [PATCH] Add a test for pg_get_functiondef()

2009-04-12 Thread Abhijit Menon-Sen
From: Abhijit Menon-Sen a...@toroid.org Thanks to Andrew Gierth for writing the function used in the test. --- src/test/regress/expected/defs.out | 43 src/test/regress/parallel_schedule |2 +- src/test/regress/serial_schedule |1 +