RE: pl/pgSQL

Поиск
Список
Период
Сортировка
От Dave Page
Тема RE: pl/pgSQL
Дата
Msg-id 8568FC767B4AD311AC33006097BCD3D61A2CD6@woody.vale-housing.co.uk
обсуждение исходный текст
Ответ на pl/pgSQL  (Dave Page <dpage@vale-housing.co.uk>)
Список pgsql-cygwin

> -----Original Message-----
> From: Jason Tishler [mailto:Jason.Tishler@dothill.com]
> Sent: 05 July 2001 14:46
> To: Dave Page
> Cc: 'pgsql-cygwin@postgresql.org'
> Subject: Re: pl/pgSQL
>
>
> Dave,
>
> On Thu, Jul 05, 2001 at 10:19:44AM +0100, Dave Page wrote:
> > Do you think it would be possible to build PostgreSQL with pl/pgsql
> > for future Cygwin releases?
>
> Huh?  PL/pgSQL has built OOTB since PostgreSQL 7.0.2 (when I
> started to provide Cygwin PostgreSQL patches) and possibly
> earlier.  Anyway it is already on your PC:
>
>     $ ls /usr/lib/plpgsql.dll
>     /usr/lib/plpgsql.dll

Hi Jason,

Yes, the DLL is there, but the language is not installed:

template1=# select * from pg_language;
 lanname  | lanispl | lanpltrusted | lanplcallfoid | lancompiler
----------+---------+--------------+---------------+-------------
 internal | f       | f            |             0 | n/a
 C        | f       | f            |             0 | /bin/cc
 sql      | f       | f            |             0 | postgres
(3 rows)

I was under the impression (wrongly :-)) that ./configure --with-plpgsql
installed the language in the relevant template files so that initdb would
include it in template1. Closer inspection of the Makefile proves this is
not the case - I'll just use createlang...

Just ignore me. I'll probably go away eventually :-)

Regards, Dave.

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: pl/pgSQL
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: Gita Press - win98 regression