Re: Error when pasting function blocks into psql

2022-07-17 Thread Ludwig Isaac Lim
On Friday, July 8, 2022 at 10:20:52 PM GMT+8, Tom Lane wrote: Ludwig Isaac Lim writes: >> Hello: >> I noticed that I'm getting errors when copy and pasting code for stored >> procedure from Windows directly into psql running in putty. >> To reproduce create a procedure that has m

Re: Error when pasting function blocks into psql

2022-07-08 Thread Tom Lane
Ludwig Isaac Lim writes: > Hello: > I noticed that I'm getting errors when copy and pasting code for stored > procedure from Windows directly into psql running in putty. > To reproduce create a procedure that has multiple statements with each > statements having multiple lines, similar to the on

Re: Error when pasting function blocks into psql

2022-07-08 Thread Francisco Olarte
Hi Ludwig: On Fri, 8 Jul 2022 at 12:37, Ludwig Isaac Lim wrote: > I noticed that I'm getting errors when copy and pasting code for stored > procedure from Windows directly into psql running in putty. > To reproduce create a procedure that has multiple statements with each > statements having mu

Error when pasting function blocks into psql

2022-07-08 Thread Ludwig Isaac Lim
Hello: I noticed that I'm getting errors when copy and pasting code for stored procedure from Windows directly into psql running in putty. To reproduce create a procedure that has multiple statements with each statements having multiple lines, similar to the ones below: CREATE OR REPLACE PROCEDUR