Re: [GENERAL] EXECUTE of a 'create table' string is not happening

2011-02-22 Thread Pavel Stehule
2011/2/22 Ralph Smith : > Hi, > > I'm passing a tablename and two columnnames into a function so that I can > SELECT Records in a FOR LOOP using 'fixed' field names. > Using the passed params I construct the create table command and then alter > the names of two columns. > > When I 'build' the func

Re: [GENERAL] EXECUTE of a 'create table' string is not happening

2011-02-22 Thread David Johnston
: Tuesday, February 22, 2011 2:05 PM To: pgsql-general@postgresql.org Subject: [GENERAL] EXECUTE of a 'create table' string is not happening Hi, I'm passing a tablename and two columnnames into a function so that I can SELECT Records in a FOR LOOP using 'fixed' field names.

[GENERAL] EXECUTE of a 'create table' string is not happening

2011-02-22 Thread Ralph Smith
Hi, I'm passing a tablename and two columnnames into a function so that I can SELECT Records in a FOR LOOP using 'fixed' field names. Using the passed params I construct the create table command and then alter the names of two columns. When I 'build' the function and then run my query to use