Re: BUG - Mailing list pgadmin-support

From Dave Page
Subject Re: BUG
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B825A0A9@mail.vale-housing.co.uk
Whole thread Raw
In response to BUG  ("Mendola Gaetano" <mendola@bigfoot.com>)
List pgadmin-support
 
-----Original Message-----
From: frank_lupo [mailto:frank_lupo@email.it]
Sent: 08 May 2003 15:49
To: Dave Page
Cc: mendola; pgadmin-support
Subject: RE: [pgadmin-support] BUG

Hi Dave,
 
I look this problem but i d'not understand the code. In pgschema is not possible to specify the RetSet when add new function. It is an error or never has not been completed the adding function?
 
int retun sql definetion
Public Property Get SQL(Optional OrReplace As Boolean = False) As String
...
 
current
  szSQL = szSQL & " RETURNS " & szReturns
 
new
  szSQL = szSQL & " RETURNS " 
  if bRetSet then   szSQL = szSQL & " SETOF " 
  szSQL = szSQL & szReturns
is correct this code?
 
If I remember correctly, the code will recognise set returning functions (SRFs), generate the SQL for them, and mark them as such in the properties dialogue, you just can't create them yet in pgAdmin. That would be nice to have for the release if you want to fix it :-)
 
Regards, Dave.

pgadmin-support by date:

Previous
From: "frank_lupo"
Date:
Subject: RE: BUG
Next
From: Alex Paulusberger
Date:
Subject: Re: pgAdmin Crashes with ODBC