[Pljava-dev] Pljava with postgres 9.3

Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2014-06-13 이후 스포츠 토토 05:33
From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-05-22 19:57:23
Message-ID: 1400788643846-5804745.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi,

Is Maven the only way to build pljava for postgres 9.3 on a Linux system?

Thanks

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745.html
Sent from the PL/Java mailing list archive at Nabble.com.


From: achill at matrix(dot)gatewaynet(dot)com (Achilleas Mantzios)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-05-23 05:42:04
Message-ID: 537EDFAC.5060207@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

On 22/05/2014 22:57, akshunj wrote:
> Hi,
>
> Is Maven the only way to build pljava for postgres 9.3 on a Linux system?
I recently built pljava for postgres 9.3.4 on a FreeBSD 9.2-RELEASE and the gmake method
did not seem to work, I had to use maven. With some tricks and the help of a colleague who knows
maven, I managed to install it with no major problems.

The pg_upgrade worked like a charm BTW!

>
> Thanks
>
>
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745.html
> Sent from the PL/Java mailing list archive at Nabble.com.
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at lists.pgfoundry.org
> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

--
Achilleas Mantzios
Head of IT DEV
IT DEPT
Dynacom Tankers Mgmt


From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-05-23 13:20:30
Message-ID: 1400851230935-5804791.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi Achilleas,

Thanks, this is good news. I'm off to learn how to use Maven.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745p5804791.html
Sent from the PL/Java mailing list archive at Nabble.com.


From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-06-11 23:22:24
Message-ID: 1402528944439-5806906.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2014-06-11 이후 사설 토토 23:22

Hi,

So after a quick crash course I was able to get Maven up and running on
CentOS 6.5 with pg93 and clone the pljava repo from git. After settings up
the env variables and getting the nar plugin, I get a build successful
message, but I can't seem to find the usual pljava files anywhere. :/
(pljava.so/deploy.jar etc)

During the build process I get see some warnings and errors below, but it
seems everything compiles:

[ERROR] /root/.git/pljava/pljava-so/src/main/c/type/Array.c: In function
?arraySetNull?:
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:21: warning:
conversion to ?bits8? from ?int? may alter its value
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:23: warning:
conversion to ?bits8? from ?int? may alter its value
[ERROR] /root/.git/pljava/pljava-so/src/main/c/type/Array.c: In function
?createArrayType?:
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:38: warning:
conversion to ?size_t? from ?jsize? may change the sign of the result
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:38: warning:
conversion to ?int? from ?size_t? may alter its value
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:50: warning:
conversion to ?long unsigned int? from ?int? may change the sign of the
result
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:50: warning:
conversion to ?int? from ?long int? may alter its value
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:56: warning:
conversion to ?int? from ?long int? may alter its value
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:58: warning:
conversion to ?Size? from ?int? may change the sign of the result
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:71: warning:
conversion to ?long unsigned int? from ?int? may change the sign of the
result
[ERROR] /root/.git/pljava/pljava-so/src/main/c/type/Array.c: In function
?_Array_coerceDatum?:
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:86: warning:
conversion to ?long unsigned int? from ?int? may change the sign of the
result
[WARNING] /root/.git/pljava/pljava-so/src/main/c/type/Array.c:88: warning:
conversion to ?long unsigned int? from ?int? may change the sign of the
result
maven-log.txt
<http://postgresql.1045698.n5.nabble.com/file/n5806906/maven-log.txt>
[INFO] 51 files were compiled.

[INFO] Reactor Summary:
[INFO]
[INFO] PostgreSQL pl/java ................................ SUCCESS [0.183s]
[INFO] PL/JAVA API ....................................... SUCCESS [2.565s]
[INFO] pl/java implementation ............................ SUCCESS [2.693s]
[INFO] pl/java deploy .................................... SUCCESS [0.495s]
[INFO] pl/java Ant Tasks ................................. SUCCESS [0.372s]
[INFO] pl/java examples .................................. SUCCESS [0.626s]
[INFO] pl/java server side library ....................... SUCCESS [16.245s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 24.477s

I tried drilling down into the directories and running ant manually, but
that didn't work either. I'm stumped and would appreciate any help you can
offer.

Thanks.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745p5806906.html
Sent from the PL/Java mailing list archive at Nabble.com.


From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-06-13 05:33:41
Message-ID: 1402637621599-5807154.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2014-06-13 이후 스포츠 토토 05:33

Just to update,

I gave up on trying to sort out the errors in the build process listed
above. I was able to create the sqlj schema and run a "smoke test" on
pljava, which worked.

If anyone cares to sort out the errors I encountered during the build
process, I'd love to hear from you.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745p5807154.html
Sent from the PL/Java mailing list archive at Nabble.com.


From: sumariva at gmail(dot)com (Cristiano Sumariva)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-06-13 11:47:48
Message-ID: CABNqA0XR+n7ARVeFC=AvXJ3iZeJtEU-nkVM7xFgzPPeOfSi7+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

What about the ResultSetProvider interface?
My backend process is crashing when I invoke a class with this interface.
It is also true that this class launches some paralell threads.

2014-06-13 2:33 GMT-03:00 akshunj <rickjackson001 at gmail.com>:

> Just to update,
>
> I gave up on trying to sort out the errors in the build process listed
> above. I was able to create the sqlj schema and run a "smoke test" on
> pljava, which worked.
>
> If anyone cares to sort out the errors I encountered during the build
> process, I'd love to hear from you.
>
>
>
> --
> View this message in context:
> http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745p5807154.html
> Sent from the PL/Java mailing list archive at Nabble.com.
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at lists.pgfoundry.org
> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20140613/bed60bd3/attachment.html>


From: rickjackson001 at gmail(dot)com (akshunj)
To:
Subject: [Pljava-dev] Pljava with postgres 9.3
Date: 2014-06-13 23:53:41
Message-ID: 1402703621597-5807258.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi Cristiano,

Do you have a smoke test I can implement quickly to test out the
ResultSetProvider? I'm a network engineer by trade, so my coding skills
aren't the greatest. If it's something I can cut, paste and run easily, I'll
give it a try and post back the results for you.

Otherwise my experience installing our application was much the same as if I
were working with pg92 or pg93. I usually smoke test pljava with a function
posted by Johann M. on this forum, which is enough to know that I can get
through my installation and start using my application.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Pljava-with-postgres-9-3-tp5804745p5807258.html
Sent from the PL/Java mailing list archive at Nabble.com.