[ckan-dev] Update datastore with primary key after creation.

Dominik Moritz dominik.moritz at okfn.org
Fri Nov 22 07:55:39 UTC 2013


You should be able to alter the table as long as there are no conflicts.

If you need an index for performance reasons, you can create one. The
primary key is mainly interesting for upserts.
On 21 Nov 2013 06:14, "Henrik Aagaard Sørensen" <BU1G at tmf.kk.dk> wrote:

> Is it possible, via the API, to update a datastore ressource with a
> primary key?
>
>
>
> And does it make a difference? Does PostgreSQL use the primary key for
> indexing etc.?
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131121/2f81cd0e/attachment-0003.html>


More information about the ckan-dev mailing list