pg.ddx.io  pgsql-students@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kunal Gupta <kunalgupta.colostate@gmail.com>
To: pgsql-students@postgresql.org
Subject: EC2 with Postgresql
Date: Wed, 16 Jul 2008 14:47:01 -0600
Message-ID: <f21494a50807161347o4642d56eq7f4b156ce7e32c4d@mail.gmail.com> (raw)

Hi Guys,

I have following challenges:

- I am suppose to connect to amazon EC2 and get the various information.

- For this I am suppose to create a function in plpythonu.

- Problem: in create function if we write "import" statement then we can
refer to standard libraries, but here I have to import a class made by me.

can anyone tell if I can write " import X " where X is a class code by me
and where to place this X class ---- this is while if am creating a function
in postgresql using plpythonu.


Thanks and regards,
Kunal

view thread (2+ messages)  latest in thread

Message-ID: <f21494a50807161347o4642d56eq7f4b156ce7e32c4d@mail.gmail.com>
Permalink:  ../f21494a50807161347o4642d56eq7f4b156ce7e32c4d@mail.gmail.com/
Also on:    postgresql.org/message-id/f21494a50807161347o4642d56eq7f4b156ce7e32c4d@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-students@postgresql.org
  Cc: kunalgupta.colostate@gmail.com
  Subject: Re: EC2 with Postgresql
  In-Reply-To: <f21494a50807161347o4642d56eq7f4b156ce7e32c4d@mail.gmail.com>
  References: <f21494a50807161347o4642d56eq7f4b156ce7e32c4d@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox